Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 105 kB / 16.41 MB, free: 6.465 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.001554/0.001555, allocations: 187 kB / 17.34 MB, free: 5.719 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.1 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 2.582/2.582, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001382, allocations: 64.09 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9203/0.9217, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002262/0.924, allocations: 0.7503 MB / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.9258, allocations: 1.154 MB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.477e-05/0.9259, allocations: 4 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.9259, allocations: 3.938 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.863e-05/0.9261, allocations: 11.86 kB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006101/0.9267, allocations: 138.6 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.9269, allocations: 123.7 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.9271, allocations: 16 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.9272, allocations: 47.91 kB / 1.17 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.9273, allocations: 47.86 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.9273, allocations: 11.94 kB / 1.17 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.924e-05/0.9274, allocations: 23.98 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.9275, allocations: 8 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.82e-05/0.9275, allocations: 43.83 kB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.9278, allocations: 115.7 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9278, allocations: 0 / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9278, allocations: 0 / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.9278, allocations: 4 kB / 1.17 GB, free: 1.32 MB / 0.8887 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.0006678/0.9285, allocations: 414.6 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.9285, allocations: 8.031 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.31e-05/0.9286, allocations: 16.84 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.9287, allocations: 164.3 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.9287, allocations: 12.31 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.9288, allocations: 8.375 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.929, allocations: 66.22 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.929, allocations: 192 / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.929, allocations: 7.938 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.929, allocations: 0 / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.9292, allocations: 43.89 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.9298, allocations: 328.7 kB / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.93, allocations: 66.55 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.915e-05/0.9301, allocations: 28.97 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.9301, allocations: 4 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002864/0.9304, allocations: 95.3 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.472e-06/0.9304, allocations: 3.938 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0004613/0.9309, allocations: 141.6 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.9309, allocations: 55.41 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.931, allocations: 117.8 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.9311, allocations: 33.7 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.9312, allocations: 96.06 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.9312, allocations: 23.75 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-05/0.9313, allocations: 33.7 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9314, allocations: 318.8 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.9316, allocations: 51.97 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.9318, allocations: 84.25 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.9321, allocations: 145.8 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.9321, allocations: 4 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004519/0.9325, allocations: 211.1 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.239e-05/0.9326, allocations: 37.7 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.9326, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.9326, allocations: 4 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.807e-05/0.9327, allocations: 11.98 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.9327, allocations: 0 / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.9329, allocations: 43.98 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.933, allocations: 8 kB / 1.172 GB, free: 14.41 MB / 0.9044 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.0001169/0.9331, allocations: 128 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.9331, allocations: 3.906 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.9332, allocations: 16.36 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.9332, allocations: 0 / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.9332, allocations: 0 / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.9332, allocations: 0 / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.9337, allocations: 386.7 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.9337, allocations: 3.938 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.9338, allocations: 4 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.9338, allocations: 3.938 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.9338, allocations: 8.047 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.9338, allocations: 8 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.9338, allocations: 0 / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.9341, allocations: 211.3 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.9341, allocations: 88.95 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.9342, allocations: 0 / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.9343, allocations: 11.98 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.9343, allocations: 4 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.9343, allocations: 11.86 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.799e-05/0.9344, allocations: 91.28 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9344, allocations: 0 / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002677/0.9347, allocations: 28 kB / 1.173 GB, free: 13.32 MB / 0.9044 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.0001583/0.9348, allocations: 103.2 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004042/0.9352, allocations: 175.3 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9353, allocations: 4.25 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.9354, allocations: 39.97 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.9357, allocations: 12 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.9361, allocations: 193.6 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.9364, allocations: 0.6846 MB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.9365, allocations: 15.44 kB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.9365, allocations: 0 / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of Templates: time 0.003067/0.9395, allocations: 1.256 MB / 1.176 GB, free: 10.79 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches