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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_10_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.005786/0.005786, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001441/0.001441, allocations: 196.7 kB / 16.67 MB, free: 5.969 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.362/2.362, allocations: 437.1 MB / 0.7106 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 67.89 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2577, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001819/0.2595, allocations: 0.7556 MB / 1.167 GB, free: 6.516 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.2609, allocations: 1.148 MB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.2609, allocations: 0 / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.261, allocations: 7.922 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.946e-05/0.2611, allocations: 15.86 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.2615, allocations: 135.6 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.2617, allocations: 123.8 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.726e-05/0.2617, allocations: 19.97 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.742e-05/0.2618, allocations: 43.91 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.655e-05/0.2619, allocations: 43.88 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.262, allocations: 12 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.838e-05/0.262, allocations: 23.98 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.2621, allocations: 19.86 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.111e-05/0.2621, allocations: 39.86 kB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.2623, allocations: 111.9 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2623, allocations: 3.938 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2623, allocations: 0 / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.2623, allocations: 4 kB / 1.169 GB, free: 4.762 MB / 0.92 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.0005339/0.2628, allocations: 416.9 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.2629, allocations: 8.031 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.212e-05/0.2629, allocations: 30.75 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.263, allocations: 16.88 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.2631, allocations: 164.3 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.2631, allocations: 8.375 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.2631, allocations: 8.375 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.2633, allocations: 70.16 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.2633, allocations: 3.938 kB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.2633, allocations: 4 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2634, allocations: 0 / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.2635, allocations: 39.95 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.264, allocations: 336.6 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.2642, allocations: 62.56 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.2643, allocations: 32.95 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.2643, allocations: 0 / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.2645, allocations: 99.36 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.2645, allocations: 0 / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0003984/0.2649, allocations: 137.5 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.265, allocations: 55.41 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.131e-05/0.2651, allocations: 117.8 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.2651, allocations: 33.7 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.2652, allocations: 92.14 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.2652, allocations: 31.84 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.309e-05/0.2653, allocations: 33.7 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2654, allocations: 326.7 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.2656, allocations: 51.97 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.2657, allocations: 88.25 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.266, allocations: 133.9 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.266, allocations: 4 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004196/0.2665, allocations: 207.1 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.2665, allocations: 43.56 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2665, allocations: 320 / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.2665, allocations: 7.984 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.171e-05/0.2666, allocations: 15.92 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.2666, allocations: 0 / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.2668, allocations: 40.03 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.2669, allocations: 15.97 kB / 1.171 GB, free: 1.793 MB / 0.92 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 9.91e-05/0.267, allocations: 121.8 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.267, allocations: 3.953 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/0.267, allocations: 12.38 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.267, allocations: 0 / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.267, allocations: 3.984 kB / 1.171 GB, free: 1.645 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.267, allocations: 4 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004508/0.2675, allocations: 370.4 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2675, allocations: 4 kB / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.2676, allocations: 7.984 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2676, allocations: 0 / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.2676, allocations: 4 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.2676, allocations: 4 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2676, allocations: 4 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.2679, allocations: 211.3 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.2679, allocations: 89.05 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.268, allocations: 0 / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.268, allocations: 8 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.2681, allocations: 11.92 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.2681, allocations: 4.062 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.073e-05/0.2682, allocations: 95.2 kB / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2682, allocations: 0 / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002429/0.2684, allocations: 27.94 kB / 1.172 GB, free: 0.7266 MB / 0.92 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.0006166/0.269, allocations: 0.7523 MB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003802/0.2694, allocations: 179.3 kB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2694, allocations: 4 kB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.2696, allocations: 35.92 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.2698, allocations: 20.17 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.2718, allocations: 1.694 MB / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.2721, allocations: 0.6846 MB / 1.175 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.276e-05/0.2722, allocations: 7.984 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.2722, allocations: 19.77 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.2722, allocations: 0 / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7612/1.033, allocations: 2.553 MB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.96, allocations: 9.984 kB / 1.178 GB, free: 10.7 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > 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