Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001461/0.001461, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001586/0.001586, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.247/1.247, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.151/2.151, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5158/0.5171, allocations: 140.4 MB / 0.9491 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001619/0.5188, allocations: 0.7865 MB / 0.9498 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009795/0.5198, allocations: 1.146 MB / 0.951 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.5198, allocations: 0 / 0.951 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.5199, allocations: 0 / 0.951 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.693e-05/0.5199, allocations: 17.05 kB / 0.951 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.5203, allocations: 117.4 kB / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.366e-05/0.5204, allocations: 106 kB / 0.9512 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.602e-05/0.5205, allocations: 13.48 kB / 0.9512 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.672e-05/0.5205, allocations: 42.5 kB / 0.9512 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.257e-05/0.5206, allocations: 32.67 kB / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.5206, allocations: 4.875 kB / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.825e-05/0.5207, allocations: 15.02 kB / 0.9513 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.5207, allocations: 10.62 kB / 0.9513 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.069e-05/0.5208, allocations: 39.06 kB / 0.9513 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.5209, allocations: 124.7 kB / 0.9515 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5209, allocations: 0 / 0.9515 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.82e-07/0.5209, allocations: 1.625 kB / 0.9515 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.5209, allocations: 3.938 kB / 0.9515 GB, free: 7.344 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003417/0.5213, allocations: 396 kB / 0.9518 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.5213, allocations: 9.625 kB / 0.9518 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.053e-05/0.5213, allocations: 35.97 kB / 0.9519 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.5214, allocations: 9.406 kB / 0.9519 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.801e-05/0.5215, allocations: 178.3 kB / 0.9521 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.5215, allocations: 2 kB / 0.9521 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.5215, allocations: 5.875 kB / 0.9521 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.2e-05/0.5216, allocations: 46.59 kB / 0.9521 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.5216, allocations: 7.875 kB / 0.9521 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.5216, allocations: 4 kB / 0.9521 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.5216, allocations: 1.406 kB / 0.9521 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.591e-05/0.5217, allocations: 13.5 kB / 0.9521 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.522, allocations: 326.9 kB / 0.9524 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.014e-05/0.522, allocations: 30.31 kB / 0.9525 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.5221, allocations: 13.23 kB / 0.9525 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.5221, allocations: 8.906 kB / 0.9525 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.5222, allocations: 60.86 kB / 0.9526 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.5222, allocations: 0 / 0.9526 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001742/0.5224, allocations: 81.44 kB / 0.9526 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.957e-05/0.5224, allocations: 52.47 kB / 0.9527 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.584e-05/0.5225, allocations: 126.8 kB / 0.9528 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.5225, allocations: 28.3 kB / 0.9528 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.5226, allocations: 95.88 kB / 0.9529 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.264e-05/0.5226, allocations: 13.14 kB / 0.9529 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.5226, allocations: 30.83 kB / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.848e-05/0.5227, allocations: 324.1 kB / 0.9533 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.091e-05/0.5228, allocations: 34.64 kB / 0.9533 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.414e-05/0.5229, allocations: 53.78 kB / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.523, allocations: 96.55 kB / 0.9535 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.523, allocations: 0 / 0.9535 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002427/0.5232, allocations: 166 kB / 0.9536 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.5233, allocations: 40.78 kB / 0.9536 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5233, allocations: 1.375 kB / 0.9536 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.5233, allocations: 0 / 0.9536 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.06e-05/0.5233, allocations: 2.844 kB / 0.9537 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.5233, allocations: 1.281 kB / 0.9537 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.5235, allocations: 32.12 kB / 0.9537 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.5236, allocations: 8.641 kB / 0.9537 GB, free: 5.109 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 5.788e-05/0.5236, allocations: 124.7 kB / 0.9538 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.5236, allocations: 5.406 kB / 0.9538 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.118e-05/0.5237, allocations: 9.594 kB / 0.9538 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.5237, allocations: 1.562 kB / 0.9538 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.5237, allocations: 0 / 0.9538 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.5237, allocations: 4 kB / 0.9538 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.294e-05/0.5238, allocations: 179.6 kB / 0.954 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5238, allocations: 0 / 0.954 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-05/0.5238, allocations: 2.188 kB / 0.954 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5238, allocations: 5.031 kB / 0.954 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.5238, allocations: 0 / 0.954 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.5238, allocations: 1.188 kB / 0.954 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5238, allocations: 0 / 0.954 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.372e-05/0.5239, allocations: 95.67 kB / 0.9541 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.5239, allocations: 82.55 kB / 0.9542 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.524, allocations: 1.312 kB / 0.9542 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.906e-05/0.524, allocations: 4 kB / 0.9542 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.524, allocations: 6.891 kB / 0.9542 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.524, allocations: 1.156 kB / 0.9542 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.714e-05/0.5241, allocations: 95.17 kB / 0.9543 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5241, allocations: 0 / 0.9543 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002096/0.5243, allocations: 23.69 kB / 0.9543 GB, free: 4.461 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002576/0.5245, allocations: 0.6379 MB / 0.9549 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001854/0.5247, allocations: 137.2 kB / 0.9551 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5247, allocations: 0 / 0.9551 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.944e-05/0.5248, allocations: 13.91 kB / 0.9551 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.525, allocations: 20.17 kB / 0.9551 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.5262, allocations: 1.503 MB / 0.9566 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.294e-05/0.5263, allocations: 0.6865 MB / 0.9572 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.423e-05/0.5263, allocations: 7.828 kB / 0.9572 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.5263, allocations: 18.38 kB / 0.9573 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of SimCode: time 8.11e-07/0.5263, allocations: 3.938 kB / 0.9573 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01066/0.537, allocations: 2.183 MB / 0.9594 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001212/0.5371, allocations: 210.1 kB / 0.9596 GB, free: 288 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.309, allocations: 0 / 0.9596 GB, free: 288 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches