Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_11_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.001548/0.001548, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.647/2.647, allocations: 469.8 MB / 0.7424 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001772, allocations: 66.75 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2361, allocations: 159.1 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001761/0.2379, allocations: 0.7473 MB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.2392, allocations: 1.153 MB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.099e-05/0.2393, allocations: 0 / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.2393, allocations: 3.938 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.961e-05/0.2394, allocations: 15.8 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.2398, allocations: 131.4 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.24, allocations: 119.8 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.991e-05/0.24, allocations: 15.98 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.2401, allocations: 47.91 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.2402, allocations: 39.77 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.2402, allocations: 12 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.605e-05/0.2403, allocations: 31.97 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.2403, allocations: 11.98 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.879e-05/0.2404, allocations: 39.86 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.2406, allocations: 115.6 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2406, allocations: 0 / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.92e-07/0.2406, allocations: 0 / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.2406, allocations: 0 / 1.067 GB, free: 11.73 MB / 0.8262 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.0005286/0.2411, allocations: 417.2 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.2412, allocations: 8.031 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.702e-05/0.2412, allocations: 34.75 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.2412, allocations: 8.938 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.2413, allocations: 176.2 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.2414, allocations: 8.375 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.2414, allocations: 8.375 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.2416, allocations: 62.22 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2416, allocations: 3.938 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.2416, allocations: 4 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.2416, allocations: 0 / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.2418, allocations: 47.89 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.2422, allocations: 328.6 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.2424, allocations: 66.55 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.787e-05/0.2425, allocations: 32.95 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.2425, allocations: 4 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/0.2427, allocations: 95.41 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.2427, allocations: 3.938 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0003936/0.2431, allocations: 141.5 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.2432, allocations: 55.41 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.415e-05/0.2433, allocations: 117.8 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.2433, allocations: 33.7 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.2434, allocations: 88.14 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.2434, allocations: 19.8 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-05/0.2435, allocations: 41.69 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.2436, allocations: 318.8 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.2437, allocations: 55.95 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.2439, allocations: 84.25 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.2442, allocations: 145.9 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2442, allocations: 0 / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004074/0.2446, allocations: 207.2 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.2446, allocations: 43.25 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2447, allocations: 0 / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.2447, allocations: 7.938 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.683e-05/0.2448, allocations: 11.98 kB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.2448, allocations: 320 / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.245, allocations: 39.81 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.245, allocations: 15.92 kB / 1.069 GB, free: 8.766 MB / 0.8262 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.048e-05/0.2451, allocations: 125.8 kB / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.2451, allocations: 7.906 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/0.2451, allocations: 8.375 kB / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.2452, allocations: 0 / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2452, allocations: 0 / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2452, allocations: 3.984 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.2456, allocations: 382.4 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2456, allocations: 3.938 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.044e-05/0.2457, allocations: 7.984 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2457, allocations: 0 / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.2457, allocations: 8 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.2457, allocations: 0 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2457, allocations: 0 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.246, allocations: 215.3 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.246, allocations: 85.09 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.2461, allocations: 4 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.518e-05/0.2461, allocations: 4 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.2462, allocations: 11.92 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.2462, allocations: 0 / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.411e-05/0.2462, allocations: 95.27 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2463, allocations: 4 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002334/0.2465, allocations: 27.91 kB / 1.07 GB, free: 7.691 MB / 0.8262 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.0005761/0.2471, allocations: 0.7409 MB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003528/0.2474, allocations: 187.2 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.2474, allocations: 0 / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.2476, allocations: 35.98 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.2478, allocations: 17.98 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.2497, allocations: 1.692 MB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.2499, allocations: 0.6885 MB / 1.073 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.519e-05/0.25, allocations: 4 kB / 1.073 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.25, allocations: 19.44 kB / 1.073 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.25, allocations: 4 kB / 1.073 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.299/6.549, allocations: 2.513 MB / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.466/16.02, allocations: 8 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches