Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 81.86 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 185 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9613/0.9613, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.79/1.79, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sta.y1|sta.y1_actual|sta.fil.y|sta.yLim",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator") translateModel(Buildings.Templates.Components.Controls.Validation.StatusEmulator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sta.y1|sta.y1_actual|sta.fil.y|sta.yLim",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.722e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.StatusEmulator): time 0.00604/0.006067, allocations: 1.816 MB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.007321, allocations: 0.836 MB / 0.7901 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003136/0.01046, allocations: 7.938 kB / 0.7901 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.01058, allocations: 15.86 kB / 0.7901 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.01083, allocations: 44.81 kB / 0.7902 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.01128, allocations: 165.3 kB / 0.7903 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.01155, allocations: 207.5 kB / 0.7905 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.983e-05/0.01165, allocations: 25.62 kB / 0.7906 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.01187, allocations: 116.5 kB / 0.7907 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.01202, allocations: 68.84 kB / 0.7907 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.01206, allocations: 16 kB / 0.7908 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.365e-05/0.01213, allocations: 35.92 kB / 0.7908 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.257e-05/0.01219, allocations: 29.36 kB / 0.7908 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.606e-05/0.01226, allocations: 55.83 kB / 0.7909 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.01248, allocations: 139.6 kB / 0.791 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.01248, allocations: 1.594 kB / 0.791 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.323e-06/0.01248, allocations: 0 / 0.791 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.01249, allocations: 0 / 0.791 GB, free: 8.648 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006165/0.0131, allocations: 499.3 kB / 0.7915 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.01314, allocations: 12.03 kB / 0.7915 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.0132, allocations: 24.78 kB / 0.7915 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003267/0.01646, allocations: 192.4 kB / 0.7917 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.01648, allocations: 4.375 kB / 0.7917 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.01651, allocations: 12.38 kB / 0.7917 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.01662, allocations: 66.16 kB / 0.7918 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.01663, allocations: 4.125 kB / 0.7918 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.01664, allocations: 384 / 0.7918 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.01666, allocations: 7.938 kB / 0.7918 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.868e-05/0.01672, allocations: 35.66 kB / 0.7918 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.01714, allocations: 361.8 kB / 0.7922 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.01724, allocations: 58.95 kB / 0.7922 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.831e-05/0.01727, allocations: 23.7 kB / 0.7922 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-06/0.01728, allocations: 1.75 kB / 0.7922 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.842e-05/0.01738, allocations: 81.06 kB / 0.7923 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.01738, allocations: 0 / 0.7923 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0001902/0.01757, allocations: 97.52 kB / 0.7924 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.0176, allocations: 55.94 kB / 0.7925 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.01774, allocations: 221.3 kB / 0.7927 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.01776, allocations: 30.7 kB / 0.7927 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/0.01785, allocations: 158.8 kB / 0.7929 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.01788, allocations: 37.92 kB / 0.7929 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.01795, allocations: 43.34 kB / 0.7929 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.01809, allocations: 0.4923 MB / 0.7934 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/0.01816, allocations: 57.67 kB / 0.7935 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.412e-05/0.01825, allocations: 91.84 kB / 0.7936 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.01836, allocations: 105.1 kB / 0.7937 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.01836, allocations: 4.531 kB / 0.7937 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000246/0.01861, allocations: 201.5 kB / 0.7939 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.01864, allocations: 38.22 kB / 0.7939 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.01865, allocations: 5.5 kB / 0.7939 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.01867, allocations: 0 / 0.7939 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.01878, allocations: 27.92 kB / 0.7939 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.01879, allocations: 0 / 0.7939 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.01891, allocations: 25.86 kB / 0.794 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.01893, allocations: 11.98 kB / 0.794 GB, free: 5.371 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,sta.y1_actual,y1.y,$PRE.y1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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.859e-05/0.01903, allocations: 164.5 kB / 0.7941 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.01905, allocations: 17.06 kB / 0.7941 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.01909, allocations: 13.47 kB / 0.7941 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01909, allocations: 0 / 0.7941 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.01909, allocations: 1.375 kB / 0.7942 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.0191, allocations: 3.984 kB / 0.7942 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.01923, allocations: 137.1 kB / 0.7943 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01923, allocations: 0.9062 kB / 0.7943 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.017e-05/0.0193, allocations: 15.88 kB / 0.7943 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.0193, allocations: 0 / 0.7943 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.01932, allocations: 8.844 kB / 0.7943 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01932, allocations: 0 / 0.7943 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.01932, allocations: 5.328 kB / 0.7943 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.01952, allocations: 132.3 kB / 0.7944 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.01956, allocations: 23.83 kB / 0.7945 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.01958, allocations: 8.531 kB / 0.7945 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.644e-05/0.01963, allocations: 0 / 0.7945 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.01966, allocations: 8.641 kB / 0.7945 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.01967, allocations: 7.938 kB / 0.7945 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.099e-05/0.01976, allocations: 165.8 kB / 0.7946 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01976, allocations: 0 / 0.7946 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002384/0.02, allocations: 32 kB / 0.7947 GB, free: 4.59 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (sta.fil.s[1],sta.fil.s[2]) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,y1.y,sta.y1_actual) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001484/0.02014, allocations: 104.1 kB / 0.7948 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.02035, allocations: 168.1 kB / 0.7949 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.02036, allocations: 0 / 0.7949 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.774e-05/0.0204, allocations: 31.61 kB / 0.795 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.02064, allocations: 31.48 kB / 0.795 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000677/0.02132, allocations: 267.5 kB / 0.7953 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.142e-05/0.02136, allocations: 67.33 kB / 0.7953 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.978e-05/0.02141, allocations: 15.44 kB / 0.7953 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.02153, allocations: 94.19 kB / 0.7954 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of SimCode: time 9.22e-07/0.02153, allocations: 0 / 0.7954 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of Templates: time 0.005078/0.02661, allocations: 2.317 MB / 0.7977 GB, free: 1.48 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; mkfifo Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe >> ../files/Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.sim & ./Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Templates.Components.Controls.Validation.StatusEmulator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Controls_Validation_StatusEmulator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.99721738928929]