Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.OnOffController,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",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.004912/0.004912, allocations: 101 kB / 15.73 MB, free: 6.062 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.001336/0.001336, allocations: 192.9 kB / 16.67 MB, free: 5.973 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.329/2.329, allocations: 437.1 MB / 0.7106 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 68.11 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6439/0.6457, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001692/0.6475, allocations: 0.7238 MB / 1.167 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008464/0.6483, allocations: 0.8336 MB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.6484, allocations: 0 / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.6484, allocations: 3.938 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.576e-05/0.6484, allocations: 3.938 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.6486, allocations: 23.97 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.624e-05/0.6487, allocations: 43.84 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.596e-05/0.6488, allocations: 16 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.768e-05/0.6488, allocations: 19.98 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.61e-05/0.6489, allocations: 23.84 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.6489, allocations: 4 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.6489, allocations: 4 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.6489, allocations: 7.984 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.649, allocations: 23.86 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.64e-05/0.6491, allocations: 39.81 kB / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.6491, allocations: 0 / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6491, allocations: 4 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.6491, allocations: 4 kB / 1.168 GB, free: 1.957 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.0006/0.6497, allocations: 383 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.6497, allocations: 8.922 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.476e-05/0.6498, allocations: 38.75 kB / 1.168 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.122e-05/0.6498, allocations: 4.922 kB / 1.168 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.6499, allocations: 168.3 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.65, allocations: 8.359 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.65, allocations: 4.375 kB / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.6501, allocations: 58.23 kB / 1.169 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.6502, allocations: 3.938 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.6502, allocations: 4 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6502, allocations: 11.86 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.6504, allocations: 47.91 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.6508, allocations: 300.7 kB / 1.169 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.6511, allocations: 54.5 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.469e-05/0.6512, allocations: 28.98 kB / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.6512, allocations: 0 / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.6512, allocations: 30.56 kB / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.6513, allocations: 0 / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.000327/0.6516, allocations: 93.83 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.6516, allocations: 55.41 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.571e-05/0.6517, allocations: 117.8 kB / 1.169 GB, free: 376 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.6517, allocations: 33.64 kB / 1.169 GB, free: 336 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.6518, allocations: 84.14 kB / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.6518, allocations: 7.953 kB / 1.169 GB, free: 240 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.6519, allocations: 17.72 kB / 1.169 GB, free: 216 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.652, allocations: 322.8 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.8e-05/0.6521, allocations: 19.98 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.388e-05/0.6522, allocations: 27.95 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.6523, allocations: 40.83 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.6523, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002016/0.6526, allocations: 81.61 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.6526, allocations: 8 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.6526, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.6526, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.085e-05/0.6527, allocations: 11.92 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.6527, allocations: 7.984 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.6528, allocations: 15.97 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.6528, allocations: 0 / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.03e-05/0.6529, allocations: 121.8 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.6529, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.6531, allocations: 81.55 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.6532, allocations: 0 / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6532, allocations: 4.375 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.6532, allocations: 0 / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.6533, allocations: 177.5 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6534, allocations: 7.938 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.805e-05/0.6534, allocations: 15.86 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.6534, allocations: 4 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.6534, allocations: 0 / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6534, allocations: 0 / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.6535, allocations: 0 / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.6537, allocations: 171.4 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.6537, allocations: 89.06 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.6538, allocations: 0 / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.6539, allocations: 11.98 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.6539, allocations: 7.984 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.654, allocations: 4 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.807e-05/0.654, allocations: 87.27 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.743e-06/0.654, allocations: 4 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002006/0.6542, allocations: 15.94 kB / 1.171 GB, free: 14.77 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005335/0.6548, allocations: 0.7048 MB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.655, allocations: 51.95 kB / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.655, allocations: 0 / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.039e-05/0.6551, allocations: 23.92 kB / 1.171 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.6553, allocations: 8 kB / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.6567, allocations: 1.331 MB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.657, allocations: 0.6807 MB / 1.173 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.894e-05/0.657, allocations: 7.984 kB / 1.173 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.6571, allocations: 11.44 kB / 1.173 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.6571, allocations: 4 kB / 1.173 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6228/1.28, allocations: 1.808 MB / 1.175 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/11.41, allocations: 16.8 kB / 1.175 GB, free: 10.12 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches