Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Logical.Validation.Change,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change",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.0009834/0.0009833, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.008111/0.008111, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.443/2.443, allocations: 390.9 MB / 0.6664 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 12 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6125/0.6128, allocations: 142.4 MB / 0.9552 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001134/0.614, allocations: 475.8 kB / 0.9556 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.6157, allocations: 1.158 MB / 0.9568 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.65e-05/0.6157, allocations: 0 / 0.9568 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.6158, allocations: 4.906 kB / 0.9568 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.645e-05/0.6158, allocations: 9.016 kB / 0.9568 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.6163, allocations: 116.2 kB / 0.9569 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.6164, allocations: 102.7 kB / 0.957 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.047e-05/0.6165, allocations: 11.44 kB / 0.957 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.698e-05/0.6166, allocations: 46.42 kB / 0.957 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.591e-05/0.6167, allocations: 33.73 kB / 0.9571 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.6167, allocations: 6.031 kB / 0.9571 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.99e-05/0.6168, allocations: 23.14 kB / 0.9571 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.6168, allocations: 11.45 kB / 0.9571 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.009e-05/0.6168, allocations: 65.05 kB / 0.9572 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.617, allocations: 100.5 kB / 0.9573 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.617, allocations: 0 / 0.9573 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.765e-06/0.617, allocations: 1.094 kB / 0.9573 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.617, allocations: 7.875 kB / 0.9573 GB, free: 5.984 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004405/0.6175, allocations: 402.1 kB / 0.9577 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.6175, allocations: 10.03 kB / 0.9577 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.6176, allocations: 35.84 kB / 0.9577 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.6176, allocations: 9.969 kB / 0.9577 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.584e-05/0.6177, allocations: 176.2 kB / 0.9579 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.6177, allocations: 3.5 kB / 0.9579 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.6177, allocations: 7.125 kB / 0.9579 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.6179, allocations: 73.42 kB / 0.958 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.6179, allocations: 7.938 kB / 0.958 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.618, allocations: 0 / 0.958 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.618, allocations: 1.438 kB / 0.958 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.6182, allocations: 52.7 kB / 0.958 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.6186, allocations: 340.2 kB / 0.9583 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.6188, allocations: 59.48 kB / 0.9584 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.619, allocations: 45.86 kB / 0.9584 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.619, allocations: 1.156 kB / 0.9584 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.6192, allocations: 92.45 kB / 0.9585 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.6192, allocations: 4 kB / 0.9585 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004499/0.6197, allocations: 157.9 kB / 0.9587 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.6197, allocations: 58.41 kB / 0.9587 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/0.6198, allocations: 123.5 kB / 0.9589 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.6198, allocations: 28.48 kB / 0.9589 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.6199, allocations: 87.33 kB / 0.959 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.6199, allocations: 22.28 kB / 0.959 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.6199, allocations: 23.42 kB / 0.959 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.658e-05/0.62, allocations: 325 kB / 0.9593 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.6202, allocations: 56.47 kB / 0.9594 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.6204, allocations: 97.19 kB / 0.9595 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.6206, allocations: 150.7 kB / 0.9596 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.6206, allocations: 0 / 0.9596 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004433/0.6211, allocations: 215.4 kB / 0.9598 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.6211, allocations: 39.34 kB / 0.9599 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.6212, allocations: 0 / 0.9599 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.6212, allocations: 2.75 kB / 0.9599 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.64e-05/0.6213, allocations: 25.67 kB / 0.9599 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.6213, allocations: 2.75 kB / 0.9599 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.6215, allocations: 47.48 kB / 0.9599 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.6216, allocations: 6.875 kB / 0.9599 GB, free: 3.574 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 8.611e-05/0.6216, allocations: 130 kB / 0.9601 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.6217, allocations: 6.656 kB / 0.9601 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.6217, allocations: 13.8 kB / 0.9601 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.6217, allocations: 9.312 kB / 0.9601 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.6217, allocations: 3.938 kB / 0.9601 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6217, allocations: 1.375 kB / 0.9601 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/0.6221, allocations: 384.6 kB / 0.9605 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.6222, allocations: 1.375 kB / 0.9605 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.221e-05/0.6222, allocations: 6.875 kB / 0.9605 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.6222, allocations: 1.375 kB / 0.9605 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.6222, allocations: 5.312 kB / 0.9605 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.6223, allocations: 7.984 kB / 0.9605 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.6223, allocations: 0 / 0.9605 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.6226, allocations: 222.5 kB / 0.9607 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.6226, allocations: 91.7 kB / 0.9608 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.6226, allocations: 1.375 kB / 0.9608 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.369e-05/0.6227, allocations: 9.484 kB / 0.9608 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.6228, allocations: 8.062 kB / 0.9608 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.944e-06/0.6228, allocations: 6.75 kB / 0.9608 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.157e-05/0.6228, allocations: 99.5 kB / 0.9609 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6228, allocations: 0 / 0.9609 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002536/0.6231, allocations: 20.69 kB / 0.9609 GB, free: 2.66 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005065/0.6236, allocations: 0.7519 MB / 0.9617 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004352/0.624, allocations: 193.9 kB / 0.9618 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.624, allocations: 0 / 0.9618 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.6242, allocations: 48.72 kB / 0.9619 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.6245, allocations: 21.08 kB / 0.9619 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.6263, allocations: 1.727 MB / 0.9636 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.6266, allocations: 0.6903 MB / 0.9643 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.031e-05/0.6266, allocations: 16.23 kB / 0.9643 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.052e-05/0.6267, allocations: 18.25 kB / 0.9643 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.6267, allocations: 1 kB / 0.9643 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01154/0.6382, allocations: 2.233 MB / 0.9665 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.6384, allocations: 206 kB / 0.9667 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.536, allocations: 0 / 0.9667 GB, free: 14.21 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches