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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: 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_9_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_9_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.006512/0.006512, allocations: 103 kB / 15.73 MB, free: 6.004 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.001179/0.001179, allocations: 193.8 kB / 16.68 MB, free: 5.93 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 / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 67.89 kB / 0.9509 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9178/0.9194, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002145/0.9216, allocations: 0.7384 MB / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.9232, allocations: 1.159 MB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.9233, allocations: 0 / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.9233, allocations: 9.938 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.285e-05/0.9234, allocations: 10.12 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.924, allocations: 132.9 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.9242, allocations: 117.4 kB / 1.09 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.9244, allocations: 17.34 kB / 1.09 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.9245, allocations: 51.88 kB / 1.09 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.9246, allocations: 50.06 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.9247, allocations: 10.53 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.171e-05/0.9248, allocations: 23.97 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.9248, allocations: 16.67 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.163e-05/0.9249, allocations: 47.66 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.9251, allocations: 104.3 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9251, allocations: 4 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.592e-06/0.9251, allocations: 0 / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.9252, allocations: 0.9688 kB / 1.09 GB, free: 3.918 MB / 0.8575 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.0006071/0.9258, allocations: 413.9 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.9258, allocations: 11.05 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.814e-05/0.9259, allocations: 9.625 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.106e-05/0.926, allocations: 177.4 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.926, allocations: 4.891 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.926, allocations: 10.47 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.9262, allocations: 66.17 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.9263, allocations: 1.984 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.9263, allocations: 8.688 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.9263, allocations: 0.9688 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.9265, allocations: 38.5 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004975/0.927, allocations: 333.1 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.9272, allocations: 66.83 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.9273, allocations: 31.08 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.9273, allocations: 1.609 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.9276, allocations: 95.5 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.9276, allocations: 0 / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0004674/0.928, allocations: 139.6 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.9281, allocations: 54.27 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.883e-05/0.9282, allocations: 117.1 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.9282, allocations: 29.39 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.9283, allocations: 97.47 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.9283, allocations: 15.64 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.96e-05/0.9284, allocations: 38.95 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.194e-05/0.9284, allocations: 320.2 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.9286, allocations: 53.64 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.9288, allocations: 97.59 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.9291, allocations: 141.1 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.9291, allocations: 5.281 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004463/0.9295, allocations: 205.3 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/0.9296, allocations: 38.91 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.9296, allocations: 0.9375 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.9296, allocations: 2.922 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.9297, allocations: 14.39 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.9298, allocations: 2.891 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.93, allocations: 42.48 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.93, allocations: 11.94 kB / 1.093 GB, free: 1.762 MB / 0.8575 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.448e-05/0.9301, allocations: 124.3 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.9301, allocations: 2.781 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.9302, allocations: 11.67 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.9302, allocations: 0.9688 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.9302, allocations: 4.703 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.9302, allocations: 4.719 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.9306, allocations: 373.9 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.9306, allocations: 0.6094 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.568e-05/0.9307, allocations: 8.719 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.9307, allocations: 0.8438 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.9307, allocations: 6.078 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.9307, allocations: 8.625 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.9307, allocations: 0 / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.931, allocations: 217.8 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.836e-05/0.9311, allocations: 83.55 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.9311, allocations: 2.703 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.123e-05/0.9312, allocations: 10.06 kB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.9312, allocations: 9.828 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.9312, allocations: 6.922 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.1e-05/0.9313, allocations: 91.22 kB / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.112e-06/0.9313, allocations: 0 / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002628/0.9316, allocations: 28.22 kB / 1.094 GB, free: 0.9219 MB / 0.8575 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.0001578/0.9317, allocations: 106.7 kB / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003987/0.9321, allocations: 178.7 kB / 1.094 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.9321, allocations: 0.8438 kB / 1.094 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.9323, allocations: 37.73 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.9326, allocations: 13.88 kB / 1.094 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.933, allocations: 165.6 kB / 1.094 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.9332, allocations: 0.6915 MB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.624e-05/0.9332, allocations: 5.922 kB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.9332, allocations: 11.7 kB / 1.095 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.9332, allocations: 0 / 1.095 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of Templates: time 0.005231/0.9385, allocations: 1.489 MB / 1.097 GB, free: 15.71 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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