Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 214.1 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.204/3.204, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 71.42 kB / 1.153 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3453, allocations: 176.1 MB / 1.325 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001978/0.3473, allocations: 0.7316 MB / 1.326 GB, free: 1.633 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.3488, allocations: 1.167 MB / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.3489, allocations: 0 / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.483e-05/0.3489, allocations: 7.922 kB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.811e-05/0.349, allocations: 15.88 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.3494, allocations: 131.5 kB / 1.327 GB, free: 312 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.3496, allocations: 127.8 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.098e-05/0.3497, allocations: 8 kB / 1.327 GB, free: 176 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.871e-05/0.3498, allocations: 43.91 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.734e-05/0.3499, allocations: 43.81 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.3499, allocations: 11.94 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.695e-05/0.35, allocations: 27.98 kB / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.35, allocations: 7.984 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.657e-05/0.3501, allocations: 39.84 kB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.3503, allocations: 115.9 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3503, allocations: 3.938 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3503, allocations: 0 / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.3503, allocations: 4 kB / 1.327 GB, free: 15.88 MB / 1.029 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.0005739/0.3509, allocations: 335.8 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3509, allocations: 12.03 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.351, allocations: 34.75 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.351, allocations: 8.891 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.3511, allocations: 118.4 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.3511, allocations: 4.375 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.3512, allocations: 12.36 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.3513, allocations: 66.17 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3514, allocations: 3.938 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.3514, allocations: 4 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3514, allocations: 0 / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.3516, allocations: 43.95 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005141/0.3521, allocations: 279.9 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.3523, allocations: 58.55 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.3524, allocations: 36.97 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.3524, allocations: 0 / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/0.3527, allocations: 87.31 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.794e-06/0.3527, allocations: 0 / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0005151/0.3532, allocations: 145.6 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.3533, allocations: 55.41 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.3534, allocations: 121.8 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.3535, allocations: 33.7 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.3536, allocations: 92.12 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.3536, allocations: 19.84 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.683e-05/0.3537, allocations: 33.7 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.3539, allocations: 334.7 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.3541, allocations: 81.66 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.3543, allocations: 114 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.3546, allocations: 141.9 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3546, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004959/0.3551, allocations: 240.9 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.719e-05/0.3551, allocations: 41.81 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3552, allocations: 4 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.3552, allocations: 4 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.3553, allocations: 19.86 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.3553, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.3555, allocations: 39.91 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.3556, allocations: 8 kB / 1.33 GB, free: 13.03 MB / 1.029 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 0.0001411/0.3557, allocations: 129.4 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.3557, allocations: 3.953 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.3558, allocations: 16.36 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3558, allocations: 0 / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3558, allocations: 0 / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3558, allocations: 0 / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005772/0.3563, allocations: 341.5 kB / 1.33 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3563, allocations: 0 / 1.33 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.533e-05/0.3564, allocations: 11.98 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3564, allocations: 0 / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.3564, allocations: 8 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3564, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3564, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.3568, allocations: 219.7 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.3568, allocations: 11.88 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.3568, allocations: 11.98 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.082e-05/0.3569, allocations: 4 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.357, allocations: 11.92 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.357, allocations: 4 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001237/0.3571, allocations: 99.2 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3571, allocations: 0 / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002751/0.3574, allocations: 20 kB / 1.331 GB, free: 12.08 MB / 1.029 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.0009285/0.3583, allocations: 0.7436 MB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004488/0.3587, allocations: 197 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3587, allocations: 0 / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.3589, allocations: 35.97 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.3592, allocations: 11.94 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.3619, allocations: 1.809 MB / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.362, allocations: 77.56 kB / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.907e-05/0.362, allocations: 7.938 kB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.083e-05/0.3621, allocations: 23.42 kB / 1.334 GB, free: 8.98 MB / 1.029 GB Notification: Performance of SimCode: time 7.31e-07/0.3621, allocations: 0 / 1.334 GB, free: 8.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.3957, allocations: 3.225 MB / 1.337 GB, free: 5.906 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.76, allocations: 2.438 kB / 1.337 GB, free: 5.906 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable change.u in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv. Warning: Get data of variable change.u from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv failed! Error: Could not read variable change.y in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv. Warning: Get data of variable change.y from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.61769424472004]