Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_latest_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.005794/0.005798, allocations: 100.8 kB / 15.73 MB, free: 6.012 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.001317/0.001317, allocations: 187.7 kB / 16.67 MB, free: 5.949 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.786/2.786, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 67.89 kB / 1.054 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3151, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002083/0.3172, allocations: 0.7438 MB / 1.208 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.3188, allocations: 1.147 MB / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.3189, allocations: 0 / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.726e-05/0.3189, allocations: 3.938 kB / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.027e-05/0.319, allocations: 15.88 kB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005225/0.3196, allocations: 129.8 kB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.3197, allocations: 131.7 kB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.288e-05/0.3198, allocations: 15.98 kB / 1.209 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.735e-05/0.3199, allocations: 43.91 kB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.3201, allocations: 51.8 kB / 1.21 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.3201, allocations: 12 kB / 1.21 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.879e-05/0.3202, allocations: 27.98 kB / 1.21 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.3202, allocations: 8 kB / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.464e-05/0.3203, allocations: 43.84 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.3205, allocations: 107.7 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3205, allocations: 3.938 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3205, allocations: 3.984 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3205, allocations: 0 / 1.21 GB, free: 7.617 MB / 0.9669 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.0006572/0.3211, allocations: 409.2 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3212, allocations: 16.62 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.3212, allocations: 34.75 kB / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.312e-05/0.3213, allocations: 8.844 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.3214, allocations: 164.4 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.3215, allocations: 4.375 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.3215, allocations: 12.36 kB / 1.21 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.3217, allocations: 58.23 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3217, allocations: 3.938 kB / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3217, allocations: 0 / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.3218, allocations: 4 kB / 1.21 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.322, allocations: 47.89 kB / 1.21 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.3225, allocations: 340.6 kB / 1.211 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.3227, allocations: 70.47 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3229, allocations: 36.97 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.3229, allocations: 0 / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002723/0.3232, allocations: 87.36 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.3232, allocations: 0 / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004537/0.3236, allocations: 145.5 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.3237, allocations: 59.34 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.442e-05/0.3238, allocations: 117.8 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.3238, allocations: 29.7 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.3239, allocations: 100.1 kB / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.3239, allocations: 11.81 kB / 1.211 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-05/0.324, allocations: 37.7 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3241, allocations: 330.8 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.3243, allocations: 51.95 kB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.3245, allocations: 84.2 kB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.3247, allocations: 141.9 kB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3247, allocations: 0 / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000464/0.3252, allocations: 211.1 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.3253, allocations: 41.83 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3253, allocations: 0 / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.3253, allocations: 4 kB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.06e-05/0.3254, allocations: 11.98 kB / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3254, allocations: 0 / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.3256, allocations: 39.95 kB / 1.212 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.3257, allocations: 8.312 kB / 1.212 GB, free: 4.66 MB / 0.9669 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.0001024/0.3258, allocations: 131.1 kB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.3258, allocations: 11.89 kB / 1.212 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.3258, allocations: 12.38 kB / 1.212 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3259, allocations: 3.938 kB / 1.212 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3259, allocations: 0 / 1.212 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3259, allocations: 0 / 1.212 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.3263, allocations: 378.4 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3263, allocations: 4 kB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.276e-05/0.3264, allocations: 11.98 kB / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3264, allocations: 0 / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.3264, allocations: 0 / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3264, allocations: 0 / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3264, allocations: 4 kB / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/0.3268, allocations: 219.3 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.3269, allocations: 81.02 kB / 1.213 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.3269, allocations: 4 kB / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.37e-05/0.327, allocations: 7.984 kB / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.327, allocations: 11.94 kB / 1.213 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.3271, allocations: 3.984 kB / 1.213 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.952e-05/0.3271, allocations: 87.83 kB / 1.213 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3271, allocations: 0 / 1.213 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002677/0.3274, allocations: 27.98 kB / 1.213 GB, free: 3.578 MB / 0.9669 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.0006462/0.328, allocations: 0.7397 MB / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000384/0.3284, allocations: 179.3 kB / 1.214 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3285, allocations: 0 / 1.214 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.3286, allocations: 39.91 kB / 1.214 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.3289, allocations: 20.2 kB / 1.214 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.331, allocations: 1.699 MB / 1.216 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.3313, allocations: 0.6924 MB / 1.217 GB, free: 36 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.65e-05/0.3313, allocations: 4 kB / 1.217 GB, free: 32 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.3314, allocations: 19.44 kB / 1.217 GB, free: 12 kB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.3314, allocations: 0 / 1.217 GB, free: 12 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.3525, allocations: 2.603 MB / 1.219 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.658/8.01, allocations: 6.641 kB / 1.219 GB, free: 13.52 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches