Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_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.01236/0.01236, allocations: 102.5 kB / 15.73 MB, free: 6.066 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.002862/0.002862, allocations: 196.9 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.121/3.121, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.006/5.006, allocations: 437.1 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002892/0.002892, allocations: 67.89 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063/2.066, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.004294/2.07, allocations: 1.168 MB / 1.167 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006088/2.076, allocations: 2.183 MB / 1.169 GB, free: 404 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002891/2.076, allocations: 4 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/2.077, allocations: 19.69 kB / 1.169 GB, free: 380 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004601/2.077, allocations: 83.2 kB / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007124/2.084, allocations: 1.399 MB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003402/2.088, allocations: 1.291 MB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/2.088, allocations: 28.69 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/2.089, allocations: 475.3 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/2.091, allocations: 438.8 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004117/2.091, allocations: 104 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004335/2.091, allocations: 120 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/2.092, allocations: 55.78 kB / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000802/2.092, allocations: 395 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.006479/2.099, allocations: 0.9619 MB / 1.175 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/2.099, allocations: 4 kB / 1.175 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.903e-06/2.099, allocations: 0 / 1.175 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.409e-05/2.099, allocations: 0 / 1.175 GB, free: 11.09 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.002719/2.102, allocations: 1.179 MB / 1.176 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.754e-05/2.102, allocations: 8.922 kB / 1.176 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.847e-05/2.102, allocations: 46.73 kB / 1.176 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003702/2.102, allocations: 72.72 kB / 1.176 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/2.103, allocations: 228.5 kB / 1.176 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.839e-05/2.103, allocations: 40.36 kB / 1.176 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002754/2.103, allocations: 68.38 kB / 1.176 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005592/2.104, allocations: 210.9 kB / 1.176 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/2.104, allocations: 3.938 kB / 1.176 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.903e-05/2.104, allocations: 7.984 kB / 1.176 GB, free: 9 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-06/2.104, allocations: 0 / 1.176 GB, free: 9 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/2.104, allocations: 67.78 kB / 1.177 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/2.106, allocations: 0.8484 MB / 1.177 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006629/2.107, allocations: 327.2 kB / 1.178 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/2.107, allocations: 140.9 kB / 1.178 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/2.107, allocations: 7.984 kB / 1.178 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001141/2.108, allocations: 470.7 kB / 1.178 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=45): time 4.639e-06/2.108, allocations: 0 / 1.178 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.002446/2.111, allocations: 0.5571 MB / 1.179 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004509/2.111, allocations: 443.2 kB / 1.179 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/2.112, allocations: 292.4 kB / 1.18 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0005364/2.112, allocations: 73.69 kB / 1.18 GB, free: 5.352 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/2.113, allocations: 153.4 kB / 1.18 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/2.113, allocations: 107.2 kB / 1.18 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008629/2.114, allocations: 278 kB / 1.18 GB, free: 4.809 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0003125/2.114, allocations: 350.8 kB / 1.18 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/2.116, allocations: 421.3 kB / 1.181 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002398/2.118, allocations: 0.7067 MB / 1.182 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003136/2.122, allocations: 1.192 MB / 1.183 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.503e-05/2.122, allocations: 4 kB / 1.183 GB, free: 1.777 MB / 0.9044 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.006501/2.128, allocations: 1.733 MB / 1.184 GB, free: 15.94 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006237/2.129, allocations: 477.5 kB / 1.185 GB, free: 15.38 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.605e-05/2.129, allocations: 8 kB / 1.185 GB, free: 15.37 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.524e-05/2.129, allocations: 16 kB / 1.185 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/2.129, allocations: 35.86 kB / 1.185 GB, free: 15.32 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.135e-05/2.129, allocations: 19.92 kB / 1.185 GB, free: 15.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004297/2.134, allocations: 415.2 kB / 1.185 GB, free: 14.89 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000533/2.134, allocations: 91.92 kB / 1.185 GB, free: 14.8 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0006732/2.135, allocations: 213.6 kB / 1.186 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/2.135, allocations: 47.69 kB / 1.186 GB, free: 14.54 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/2.135, allocations: 34.14 kB / 1.186 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/2.135, allocations: 12 kB / 1.186 GB, free: 14.49 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-05/2.135, allocations: 15.88 kB / 1.186 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/2.135, allocations: 7.984 kB / 1.186 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007383/2.136, allocations: 329.3 kB / 1.186 GB, free: 14.1 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/2.136, allocations: 4 kB / 1.186 GB, free: 14.1 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.135e-05/2.136, allocations: 23.86 kB / 1.186 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.416e-05/2.136, allocations: 4 kB / 1.186 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/2.136, allocations: 19.98 kB / 1.186 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.239e-05/2.136, allocations: 8 kB / 1.186 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/2.136, allocations: 4 kB / 1.186 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/2.138, allocations: 0.5275 MB / 1.187 GB, free: 13.45 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/2.138, allocations: 116.8 kB / 1.187 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-05/2.138, allocations: 15.98 kB / 1.187 GB, free: 13.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/2.138, allocations: 15.98 kB / 1.187 GB, free: 13.29 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/2.138, allocations: 59.89 kB / 1.187 GB, free: 13.23 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.878e-05/2.139, allocations: 27.98 kB / 1.187 GB, free: 13.2 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003593/2.139, allocations: 191.1 kB / 1.187 GB, free: 13.02 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.41e-07/2.139, allocations: 7.875 kB / 1.187 GB, free: 13.01 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001663/2.141, allocations: 200 kB / 1.187 GB, free: 12.82 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.002118/2.143, allocations: 1.081 MB / 1.188 GB, free: 11.66 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004593/2.147, allocations: 1.75 MB / 1.19 GB, free: 9.73 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/2.147, allocations: 4 kB / 1.19 GB, free: 9.727 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000656/2.148, allocations: 185.4 kB / 1.19 GB, free: 9.547 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/2.15, allocations: 137 kB / 1.19 GB, free: 9.414 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02086/2.17, allocations: 6.46 MB / 1.197 GB, free: 2.422 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007492/2.171, allocations: 0.7799 MB / 1.197 GB, free: 1.617 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003723/2.172, allocations: 46.97 kB / 1.197 GB, free: 1.57 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/2.172, allocations: 103.4 kB / 1.198 GB, free: 1.469 MB / 0.92 GB Notification: Performance of SimCode: time 1.202e-06/2.172, allocations: 0 / 1.198 GB, free: 1.469 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1409/2.313, allocations: 14.86 MB / 1.212 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.9/21.21, allocations: 16.95 kB / 1.212 GB, free: 2.836 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches