Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 108.8 kB / 16.37 MB, free: 6.477 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.001133/0.001133, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.193/1.193, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2/2, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 69.42 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2181, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.00195/0.2201, allocations: 0.8879 MB / 0.952 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009642/0.2211, allocations: 0.8701 MB / 0.9528 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.422e-05/0.2212, allocations: 3.938 kB / 0.9528 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.488e-05/0.2212, allocations: 7.875 kB / 0.9529 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.979e-05/0.2213, allocations: 15.86 kB / 0.9529 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.2215, allocations: 39.89 kB / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.2217, allocations: 115.7 kB / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.2219, allocations: 37.11 kB / 0.9531 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.222, allocations: 47.78 kB / 0.9531 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.2221, allocations: 47.77 kB / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.2221, allocations: 12 kB / 0.9532 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.713e-05/0.2222, allocations: 8 kB / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.188e-05/0.2222, allocations: 23.92 kB / 0.9532 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.885e-05/0.2223, allocations: 51.73 kB / 0.9532 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.2225, allocations: 127.5 kB / 0.9534 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.2225, allocations: 0 / 0.9534 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2225, allocations: 3.938 kB / 0.9534 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.2225, allocations: 0 / 0.9534 GB, free: 5.75 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009745/0.2235, allocations: 463 kB / 0.9538 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2235, allocations: 8.031 kB / 0.9538 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.2236, allocations: 12.84 kB / 0.9538 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.2238, allocations: 197.9 kB / 0.954 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.2238, allocations: 4.375 kB / 0.954 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.2238, allocations: 8.375 kB / 0.954 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.224, allocations: 100.5 kB / 0.9541 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.2241, allocations: 192 / 0.9541 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.2241, allocations: 11.86 kB / 0.9541 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2241, allocations: 3.938 kB / 0.9541 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.2243, allocations: 67.95 kB / 0.9542 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007771/0.2251, allocations: 404.5 kB / 0.9546 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.2252, allocations: 58.56 kB / 0.9546 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.846e-05/0.2253, allocations: 32.97 kB / 0.9547 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.2253, allocations: 0 / 0.9547 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.2254, allocations: 34.56 kB / 0.9547 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.2254, allocations: 0 / 0.9547 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5): time 0.0003307/0.2257, allocations: 117.5 kB / 0.9548 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.2257, allocations: 55.41 kB / 0.9549 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.2259, allocations: 157.1 kB / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.2259, allocations: 25.7 kB / 0.955 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.226, allocations: 108 kB / 0.9551 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.226, allocations: 15.81 kB / 0.9552 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.2261, allocations: 21.7 kB / 0.9552 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.2262, allocations: 326.8 kB / 0.9555 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.024e-05/0.2263, allocations: 27.98 kB / 0.9555 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-05/0.2263, allocations: 27.98 kB / 0.9555 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.2265, allocations: 48.83 kB / 0.9556 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2265, allocations: 0 / 0.9556 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000197/0.2267, allocations: 93.52 kB / 0.9557 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2267, allocations: 8 kB / 0.9557 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2267, allocations: 0 / 0.9557 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2267, allocations: 0 / 0.9557 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.2268, allocations: 15.98 kB / 0.9557 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.2268, allocations: 3.938 kB / 0.9557 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.227, allocations: 23.91 kB / 0.9557 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.227, allocations: 8.25 kB / 0.9557 GB, free: 3.09 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.301e-05/0.2271, allocations: 119.8 kB / 0.9559 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.2271, allocations: 15.84 kB / 0.9559 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.643e-05/0.2272, allocations: 12.31 kB / 0.9559 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2272, allocations: 4 kB / 0.9559 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2272, allocations: 3.938 kB / 0.9559 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2272, allocations: 0 / 0.9559 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.2274, allocations: 213.4 kB / 0.9561 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2274, allocations: 0 / 0.9561 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/0.2275, allocations: 11.98 kB / 0.9561 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2275, allocations: 4 kB / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.2275, allocations: 0 / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2275, allocations: 0 / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2275, allocations: 3.938 kB / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.2277, allocations: 183.4 kB / 0.9563 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.2278, allocations: 84.95 kB / 0.9564 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.2278, allocations: 11.98 kB / 0.9564 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.228, allocations: 19.97 kB / 0.9564 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.228, allocations: 15.92 kB / 0.9564 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.228, allocations: 4 kB / 0.9564 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.06e-05/0.2281, allocations: 117.3 kB / 0.9565 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2281, allocations: 7.938 kB / 0.9565 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00021/0.2283, allocations: 12 kB / 0.9566 GB, free: 2.176 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 8.978e-05/0.2284, allocations: 103.2 kB / 0.9566 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.2286, allocations: 64.19 kB / 0.9567 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2286, allocations: 0 / 0.9567 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.183e-05/0.2287, allocations: 35.92 kB / 0.9567 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.229, allocations: 18.02 kB / 0.9568 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003923/0.2294, allocations: 207.6 kB / 0.957 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.2298, allocations: 0.6963 MB / 0.9576 GB, free: 1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.709e-05/0.2298, allocations: 11.98 kB / 0.9577 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.2299, allocations: 11.44 kB / 0.9577 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.2299, allocations: 0 / 0.9577 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of Templates: time 0.003181/0.2331, allocations: 1.357 MB / 0.959 GB, free: 15.63 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches