Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 194.1 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.367/2.367, allocations: 390.3 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 59.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6097/0.6112, allocations: 140.4 MB / 0.9493 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001868/0.6131, allocations: 1.018 MB / 0.9503 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.6144, allocations: 1.43 MB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.29e-05/0.6145, allocations: 1.344 kB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.452e-05/0.6146, allocations: 7.875 kB / 0.9517 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.6147, allocations: 44.64 kB / 0.9517 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008432/0.6155, allocations: 415.1 kB / 0.9521 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.616, allocations: 0.5098 MB / 0.9526 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.6161, allocations: 45.69 kB / 0.9526 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.6162, allocations: 184.7 kB / 0.9528 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.6164, allocations: 129.9 kB / 0.9529 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.922e-05/0.6165, allocations: 49.12 kB / 0.953 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.6166, allocations: 71.59 kB / 0.9531 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.209e-05/0.6166, allocations: 39.75 kB / 0.9531 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.6168, allocations: 168.7 kB / 0.9533 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.6171, allocations: 499.2 kB / 0.9537 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6172, allocations: 4 kB / 0.9537 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6172, allocations: 0 / 0.9537 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.6172, allocations: 1.719 kB / 0.9537 GB, free: 5.773 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006606/0.6178, allocations: 0.6291 MB / 0.9543 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.6179, allocations: 21.11 kB / 0.9544 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.036e-05/0.6179, allocations: 37.62 kB / 0.9544 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.63e-05/0.618, allocations: 31.78 kB / 0.9544 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.6182, allocations: 219.1 kB / 0.9546 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.6182, allocations: 18.5 kB / 0.9547 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.746e-05/0.6183, allocations: 26.38 kB / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.6184, allocations: 125.6 kB / 0.9548 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.6185, allocations: 0 / 0.9548 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.6185, allocations: 1.281 kB / 0.9548 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.6185, allocations: 2.875 kB / 0.9548 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.6186, allocations: 60.98 kB / 0.9549 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007344/0.6193, allocations: 0.8716 MB / 0.9557 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.6195, allocations: 115.2 kB / 0.9558 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.889e-05/0.6195, allocations: 55.73 kB / 0.9559 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.6196, allocations: 5.125 kB / 0.9559 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/0.6198, allocations: 177.2 kB / 0.9561 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.6198, allocations: 0 / 0.9561 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0004075/0.6202, allocations: 229 kB / 0.9563 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.6202, allocations: 143.8 kB / 0.9564 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.6204, allocations: 235.4 kB / 0.9566 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.6205, allocations: 36.98 kB / 0.9567 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.233e-05/0.6206, allocations: 135.3 kB / 0.9568 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.6206, allocations: 33.45 kB / 0.9568 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.6208, allocations: 99.5 kB / 0.9569 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.623e-05/0.6208, allocations: 326.6 kB / 0.9572 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.6211, allocations: 151.3 kB / 0.9574 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.6214, allocations: 223.2 kB / 0.9576 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.6217, allocations: 367.1 kB / 0.9579 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6217, allocations: 5.375 kB / 0.958 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007944/0.6225, allocations: 0.5494 MB / 0.9585 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.035e-05/0.6226, allocations: 135.8 kB / 0.9586 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.6226, allocations: 6.406 kB / 0.9586 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.6226, allocations: 5 kB / 0.9586 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.945e-05/0.6227, allocations: 20.55 kB / 0.9586 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.6227, allocations: 3.844 kB / 0.9587 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006786/0.6234, allocations: 124.2 kB / 0.9588 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.805e-05/0.6235, allocations: 26.98 kB / 0.9588 GB, free: 1.352 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.6236, allocations: 151.2 kB / 0.9589 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.6237, allocations: 17.25 kB / 0.959 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.6237, allocations: 22.33 kB / 0.959 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.6237, allocations: 6.562 kB / 0.959 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.6237, allocations: 2.156 kB / 0.959 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.6237, allocations: 1.969 kB / 0.959 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.6239, allocations: 255.8 kB / 0.9592 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.6239, allocations: 1.156 kB / 0.9592 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.305e-05/0.624, allocations: 15.67 kB / 0.9592 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.624, allocations: 6.062 kB / 0.9593 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.624, allocations: 6.938 kB / 0.9593 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.624, allocations: 6.125 kB / 0.9593 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.624, allocations: 1.188 kB / 0.9593 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.6243, allocations: 218.9 kB / 0.9595 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.6243, allocations: 103.2 kB / 0.9596 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.6244, allocations: 10.17 kB / 0.9596 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.296e-05/0.6244, allocations: 6.156 kB / 0.9596 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.6245, allocations: 18.33 kB / 0.9596 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.6245, allocations: 10.28 kB / 0.9596 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001269/0.6246, allocations: 165.9 kB / 0.9598 GB, free: 500 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6246, allocations: 0 / 0.9598 GB, free: 500 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003361/0.625, allocations: 67.97 kB / 0.9598 GB, free: 492 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005435/0.6255, allocations: 0.7655 MB / 0.9606 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007212/0.6262, allocations: 0.5366 MB / 0.9611 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6263, allocations: 0 / 0.9611 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.6264, allocations: 66.72 kB / 0.9612 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.6268, allocations: 66.3 kB / 0.9612 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.6309, allocations: 3.034 MB / 0.9642 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.6312, allocations: 0.726 MB / 0.9649 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.66e-05/0.6313, allocations: 22.45 kB / 0.9649 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.918e-05/0.6314, allocations: 57.62 kB / 0.965 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of SimCode: time 2.685e-06/0.6314, allocations: 0 / 0.965 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/0.6523, allocations: 6.26 MB / 0.9711 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/0.6526, allocations: 213.2 kB / 0.9713 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.517, allocations: 4 kB / 0.9713 GB, free: 8.828 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches