Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: 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_10_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_10_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.001282/0.001282, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.001407/0.001407, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.24/1.24, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.276/2.276, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 64.25 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2802, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002345/0.2826, allocations: 0.885 MB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.2836, allocations: 0.8755 MB / 1.021 GB, free: 8.066 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.2837, allocations: 0 / 1.021 GB, free: 8.066 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.882e-05/0.2838, allocations: 11.81 kB / 1.021 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.991e-05/0.2839, allocations: 19.84 kB / 1.021 GB, free: 8.035 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.284, allocations: 35.91 kB / 1.021 GB, free: 8 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.2842, allocations: 115.7 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.2843, allocations: 48.97 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.2844, allocations: 43.8 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.2845, allocations: 51.77 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.2846, allocations: 12 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.831e-05/0.2846, allocations: 12 kB / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.899e-05/0.2846, allocations: 23.91 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.2847, allocations: 55.72 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.2849, allocations: 123.5 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2849, allocations: 4 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.527e-06/0.2849, allocations: 0 / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2849, allocations: 3.938 kB / 1.021 GB, free: 7.512 MB / 0.795 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.000806/0.2857, allocations: 463 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.2858, allocations: 12.92 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.2858, allocations: 16.75 kB / 1.022 GB, free: 6.98 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.2859, allocations: 174 kB / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.286, allocations: 4.375 kB / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.286, allocations: 12.36 kB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.2862, allocations: 94.16 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2862, allocations: 192 / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2862, allocations: 3.938 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2862, allocations: 3.938 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.2864, allocations: 71.95 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006646/0.2871, allocations: 408.5 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.2872, allocations: 58.56 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.689e-05/0.2873, allocations: 32.97 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.2873, allocations: 0 / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.2873, allocations: 34.55 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.2874, allocations: 4 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of matching and sorting (n=5): time 0.0003166/0.2877, allocations: 117.4 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.2877, allocations: 51.41 kB / 1.023 GB, free: 5.801 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.2879, allocations: 161.1 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.2879, allocations: 29.7 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.2879, allocations: 104 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.288, allocations: 11.81 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.288, allocations: 25.7 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.2881, allocations: 322.8 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.207e-05/0.2882, allocations: 27.98 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.39e-05/0.2883, allocations: 27.98 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.2884, allocations: 52.77 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2884, allocations: 0 / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001965/0.2886, allocations: 109.6 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.2887, allocations: 4 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2887, allocations: 0 / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2887, allocations: 3.984 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.019e-05/0.2888, allocations: 8.25 kB / 1.023 GB, free: 4.891 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2888, allocations: 3.938 kB / 1.023 GB, free: 4.887 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.289, allocations: 31.91 kB / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.289, allocations: 7.984 kB / 1.023 GB, free: 4.848 MB / 0.795 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 9.049e-05/0.2891, allocations: 117.8 kB / 1.024 GB, free: 4.723 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.2891, allocations: 11.81 kB / 1.024 GB, free: 4.711 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.2891, allocations: 16.3 kB / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2892, allocations: 0 / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2892, allocations: 3.938 kB / 1.024 GB, free: 4.695 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2892, allocations: 0 / 1.024 GB, free: 4.695 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.2893, allocations: 205.6 kB / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2894, allocations: 3.938 kB / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.545e-05/0.2894, allocations: 7.984 kB / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2894, allocations: 4 kB / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.2894, allocations: 0 / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2895, allocations: 0 / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2895, allocations: 3.938 kB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.2897, allocations: 187.4 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.2897, allocations: 81.02 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.2898, allocations: 7.984 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.2899, allocations: 23.97 kB / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.29, allocations: 11.92 kB / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.29, allocations: 12 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.224e-05/0.2901, allocations: 111.2 kB / 1.024 GB, free: 3.965 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.393e-06/0.2901, allocations: 0 / 1.024 GB, free: 3.965 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002245/0.2903, allocations: 19.94 kB / 1.024 GB, free: 3.945 MB / 0.795 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 0.000106/0.2905, allocations: 103.2 kB / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002043/0.2907, allocations: 63.95 kB / 1.024 GB, free: 3.77 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2907, allocations: 0 / 1.024 GB, free: 3.77 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.695e-05/0.2908, allocations: 39.92 kB / 1.024 GB, free: 3.73 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.2911, allocations: 11.94 kB / 1.024 GB, free: 3.719 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.2914, allocations: 203.9 kB / 1.025 GB, free: 3.492 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.2917, allocations: 0.6963 MB / 1.025 GB, free: 2.77 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.538e-05/0.2917, allocations: 11.98 kB / 1.025 GB, free: 2.758 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.2918, allocations: 11.44 kB / 1.025 GB, free: 2.746 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.2918, allocations: 0 / 1.025 GB, free: 2.746 MB / 0.795 GB Notification: Performance of Templates: time 0.003345/0.2951, allocations: 1.357 MB / 1.027 GB, free: 1.402 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches