Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.526/2.526, allocations: 476.7 MB / 0.7628 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 71.88 kB / 1.107 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8039/0.8057, allocations: 168.7 MB / 1.271 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001906/0.8076, allocations: 0.9749 MB / 1.272 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.8092, allocations: 1.449 MB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.829e-05/0.8093, allocations: 1 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.539e-05/0.8093, allocations: 18.16 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.8095, allocations: 56.05 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000989/0.8105, allocations: 452.1 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004855/0.8109, allocations: 497.5 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.8111, allocations: 29.98 kB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.8112, allocations: 183 kB / 1.275 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.8115, allocations: 167 kB / 1.275 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.679e-05/0.8115, allocations: 57.78 kB / 1.275 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.8117, allocations: 63.73 kB / 1.275 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.509e-05/0.8117, allocations: 36.75 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.8119, allocations: 168.5 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.8123, allocations: 0.4924 MB / 1.276 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.8123, allocations: 0 / 1.276 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.522e-06/0.8123, allocations: 1.156 kB / 1.276 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.8124, allocations: 0 / 1.276 GB, free: 4.992 MB / 0.9981 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.0006413/0.813, allocations: 0.6318 MB / 1.277 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.813, allocations: 9.688 kB / 1.277 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.795e-05/0.8131, allocations: 45 kB / 1.277 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.436e-05/0.8131, allocations: 30.73 kB / 1.277 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.8133, allocations: 220.3 kB / 1.277 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.8133, allocations: 16.06 kB / 1.277 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.404e-05/0.8134, allocations: 24 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.8135, allocations: 126 kB / 1.277 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.8136, allocations: 4.812 kB / 1.277 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.8136, allocations: 5.938 kB / 1.277 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.8136, allocations: 6.5 kB / 1.277 GB, free: 4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.8137, allocations: 58.19 kB / 1.277 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007653/0.8144, allocations: 0.8681 MB / 1.278 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.8146, allocations: 116.5 kB / 1.278 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.202e-05/0.8146, allocations: 46.52 kB / 1.278 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.8147, allocations: 5.594 kB / 1.278 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002193/0.8149, allocations: 178.5 kB / 1.278 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.8149, allocations: 1 kB / 1.278 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0004263/0.8153, allocations: 233.3 kB / 1.278 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.8153, allocations: 133 kB / 1.279 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.8156, allocations: 244.9 kB / 1.279 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/0.8156, allocations: 37.72 kB / 1.279 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.332e-05/0.8157, allocations: 127.9 kB / 1.279 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.8157, allocations: 35.08 kB / 1.279 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.8159, allocations: 94.28 kB / 1.279 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.624e-05/0.8159, allocations: 334.1 kB / 1.279 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.8162, allocations: 153.5 kB / 1.28 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.8165, allocations: 219.7 kB / 1.28 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.8169, allocations: 376.5 kB / 1.28 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.8169, allocations: 1.062 kB / 1.28 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008335/0.8177, allocations: 0.5555 MB / 1.281 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.587e-05/0.8178, allocations: 136.8 kB / 1.281 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.8178, allocations: 3.297 kB / 1.281 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.8178, allocations: 8.062 kB / 1.281 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.787e-05/0.8179, allocations: 14.89 kB / 1.281 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.8179, allocations: 13.44 kB / 1.281 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006424/0.8185, allocations: 115.8 kB / 1.281 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/0.8186, allocations: 28.19 kB / 1.281 GB, free: 1.039 MB / 0.9981 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.000118/0.8187, allocations: 144.6 kB / 1.281 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.8187, allocations: 26.59 kB / 1.281 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.8188, allocations: 17.08 kB / 1.281 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.8188, allocations: 3.703 kB / 1.281 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.8188, allocations: 0.9375 kB / 1.281 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.8188, allocations: 5.984 kB / 1.281 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.819, allocations: 261.3 kB / 1.281 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.819, allocations: 6.656 kB / 1.281 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.819, allocations: 13.03 kB / 1.281 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.819, allocations: 1.594 kB / 1.281 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.819, allocations: 4.625 kB / 1.281 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.8191, allocations: 2 kB / 1.281 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.8191, allocations: 1.094 kB / 1.281 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.8193, allocations: 224.5 kB / 1.282 GB, free: 492 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.8193, allocations: 97.42 kB / 1.282 GB, free: 384 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.8194, allocations: 3.906 kB / 1.282 GB, free: 384 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.175e-05/0.8194, allocations: 7.641 kB / 1.282 GB, free: 380 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.8195, allocations: 15.06 kB / 1.282 GB, free: 376 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.8195, allocations: 11.94 kB / 1.282 GB, free: 372 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001249/0.8196, allocations: 163.8 kB / 1.282 GB, free: 272 kB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8196, allocations: 0 / 1.282 GB, free: 272 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003031/0.8199, allocations: 76.73 kB / 1.282 GB, free: 256 kB / 0.9981 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.0005337/0.8204, allocations: 0.7579 MB / 1.283 GB, free: 15.58 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000636/0.8211, allocations: 495.2 kB / 1.283 GB, free: 15.21 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8211, allocations: 0 / 1.283 GB, free: 15.21 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.04e-05/0.8212, allocations: 60.84 kB / 1.283 GB, free: 15.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.8216, allocations: 73.14 kB / 1.283 GB, free: 15.17 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/0.8252, allocations: 3.028 MB / 1.286 GB, free: 13.01 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.8255, allocations: 0.7288 MB / 1.287 GB, free: 12.31 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.741e-05/0.8256, allocations: 23.23 kB / 1.287 GB, free: 12.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.4e-05/0.8257, allocations: 59.11 kB / 1.287 GB, free: 12.26 MB / 1.014 GB Notification: Performance of SimCode: time 6.12e-07/0.8257, allocations: 3 kB / 1.287 GB, free: 12.26 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.853, allocations: 6.397 MB / 1.293 GB, free: 11.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.92/7.773, allocations: 14.59 kB / 1.293 GB, free: 11.56 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.138785897999696]