Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001021/0.001021, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001012/0.001012, allocations: 161 kB / 23.82 MB, free: 0.7461 MB / 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.9412/0.9412, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.861/1.861, allocations: 359 MB / 0.6052 GB, free: 11.02 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.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 0 / 0.7872 GB, free: 11.3 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.362e-05, allocations: 2.312 kB / 0.7872 GB, free: 11.3 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001875/0.001909, allocations: 0.6823 MB / 0.7878 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.002959, allocations: 0.8592 MB / 0.7887 GB, free: 9.766 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.88e-05/0.003007, allocations: 0 / 0.7887 GB, free: 9.766 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.003039, allocations: 1.656 kB / 0.7887 GB, free: 9.766 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.346e-05/0.003112, allocations: 7.938 kB / 0.7887 GB, free: 9.758 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.003301, allocations: 11.92 kB / 0.7887 GB, free: 9.746 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.37e-05/0.003384, allocations: 23.98 kB / 0.7887 GB, free: 9.723 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.72e-05/0.003472, allocations: 8.734 kB / 0.7887 GB, free: 9.715 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.756e-05/0.003549, allocations: 11.98 kB / 0.7887 GB, free: 9.703 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.946e-05/0.003589, allocations: 12.92 kB / 0.7887 GB, free: 9.691 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.003605, allocations: 4 kB / 0.7887 GB, free: 9.688 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.359e-05/0.003649, allocations: 4 kB / 0.7887 GB, free: 9.684 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.003666, allocations: 4.562 kB / 0.7888 GB, free: 9.68 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.003685, allocations: 4.75 kB / 0.7888 GB, free: 9.676 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.003791, allocations: 31.89 kB / 0.7888 GB, free: 9.645 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.003794, allocations: 0.9062 kB / 0.7888 GB, free: 9.645 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.172e-06/0.003795, allocations: 0 / 0.7888 GB, free: 9.645 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.0038, allocations: 0 / 0.7888 GB, free: 9.645 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003887/0.004188, allocations: 360.9 kB / 0.7891 GB, free: 9.254 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.004235, allocations: 8.656 kB / 0.7891 GB, free: 9.246 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.004362, allocations: 8.891 kB / 0.7891 GB, free: 9.238 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.882e-05/0.004461, allocations: 105.5 kB / 0.7893 GB, free: 9.109 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.004476, allocations: 4.375 kB / 0.7893 GB, free: 9.105 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.004484, allocations: 1.344 kB / 0.7893 GB, free: 9.105 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.004622, allocations: 58.94 kB / 0.7893 GB, free: 9.039 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.004631, allocations: 1.188 kB / 0.7893 GB, free: 9.039 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.004642, allocations: 4.359 kB / 0.7893 GB, free: 9.035 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.00465, allocations: 384 / 0.7893 GB, free: 9.035 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.233e-05/0.004683, allocations: 8.594 kB / 0.7893 GB, free: 9.027 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.004993, allocations: 251.7 kB / 0.7896 GB, free: 8.746 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.554e-05/0.005059, allocations: 32.34 kB / 0.7896 GB, free: 8.703 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.005083, allocations: 11.75 kB / 0.7896 GB, free: 8.688 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.0051, allocations: 2.906 kB / 0.7896 GB, free: 8.688 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.005128, allocations: 33.39 kB / 0.7896 GB, free: 8.645 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.005129, allocations: 0 / 0.7896 GB, free: 8.645 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001758/0.005305, allocations: 53.52 kB / 0.7897 GB, free: 8.586 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.00534, allocations: 59.34 kB / 0.7898 GB, free: 8.516 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.53e-05/0.005426, allocations: 153.9 kB / 0.7899 GB, free: 8.348 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.005439, allocations: 25.7 kB / 0.7899 GB, free: 8.316 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.005489, allocations: 132.2 kB / 0.79 GB, free: 8.184 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.00551, allocations: 11.94 kB / 0.7901 GB, free: 8.172 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.005542, allocations: 15.38 kB / 0.7901 GB, free: 8.148 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.005694, allocations: 0.4884 MB / 0.7906 GB, free: 7.648 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/0.005712, allocations: 0.5938 kB / 0.7906 GB, free: 7.648 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.133e-05/0.005723, allocations: 0.7188 kB / 0.7906 GB, free: 7.648 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.792e-05/0.005761, allocations: 12.22 kB / 0.7906 GB, free: 7.633 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.005765, allocations: 5.594 kB / 0.7906 GB, free: 7.629 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.967e-05/0.005845, allocations: 45.62 kB / 0.7906 GB, free: 7.578 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.005857, allocations: 4 kB / 0.7906 GB, free: 7.574 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.005866, allocations: 3.938 kB / 0.7906 GB, free: 7.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.005879, allocations: 0.625 kB / 0.7906 GB, free: 7.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.005956, allocations: 4.688 kB / 0.7906 GB, free: 7.566 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.005963, allocations: 0 / 0.7906 GB, free: 7.566 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.485e-05/0.005988, allocations: 8.672 kB / 0.7906 GB, free: 7.559 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.005994, allocations: 4 kB / 0.7906 GB, free: 7.555 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.908e-05/0.006073, allocations: 157.4 kB / 0.7908 GB, free: 7.391 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.006096, allocations: 0 / 0.7908 GB, free: 7.391 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.00621, allocations: 54.25 kB / 0.7908 GB, free: 7.332 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.006213, allocations: 0 / 0.7908 GB, free: 7.332 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.006216, allocations: 0 / 0.7908 GB, free: 7.332 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.006219, allocations: 1.812 kB / 0.7908 GB, free: 7.332 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.006345, allocations: 116.6 kB / 0.791 GB, free: 7.184 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.006347, allocations: 0 / 0.791 GB, free: 7.184 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.00639, allocations: 8 kB / 0.791 GB, free: 7.176 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.006392, allocations: 0 / 0.791 GB, free: 7.176 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.006399, allocations: 1.531 kB / 0.791 GB, free: 7.176 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.006405, allocations: 3.938 kB / 0.791 GB, free: 7.172 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.006406, allocations: 0 / 0.791 GB, free: 7.172 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.006527, allocations: 194.2 kB / 0.7911 GB, free: 6.965 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-06/0.006534, allocations: 0 / 0.7911 GB, free: 6.965 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.006546, allocations: 0 / 0.7911 GB, free: 6.965 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.389e-05/0.0066, allocations: 11.92 kB / 0.7912 GB, free: 6.953 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.006633, allocations: 7.875 kB / 0.7912 GB, free: 6.945 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.006636, allocations: 0 / 0.7912 GB, free: 6.945 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.586e-05/0.006682, allocations: 127.2 kB / 0.7913 GB, free: 6.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.006682, allocations: 2.031 kB / 0.7913 GB, free: 6.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002234/0.006906, allocations: 4 kB / 0.7913 GB, free: 6.816 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001092/0.007015, allocations: 95.23 kB / 0.7914 GB, free: 6.715 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.178e-05/0.007107, allocations: 16.19 kB / 0.7914 GB, free: 6.695 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.007109, allocations: 0.5 kB / 0.7914 GB, free: 6.695 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.116e-05/0.00713, allocations: 13.56 kB / 0.7914 GB, free: 6.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.007392, allocations: 10.39 kB / 0.7914 GB, free: 6.672 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.007684, allocations: 116.8 kB / 0.7915 GB, free: 6.531 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.053e-05/0.007725, allocations: 59.34 kB / 0.7916 GB, free: 6.453 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.742e-05/0.007742, allocations: 0 / 0.7916 GB, free: 6.453 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.007774, allocations: 12.5 kB / 0.7916 GB, free: 6.441 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/0.007775, allocations: 0 / 0.7916 GB, free: 6.441 MB / 0.698 GB Notification: Performance of Templates: time 0.002597/0.01037, allocations: 0.4984 MB / 0.7921 GB, free: 5.965 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.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.854420846793801]