Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.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.001495/0.001495, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001486/0.001486, allocations: 169 kB / 24.28 MB, free: 276 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 1.009/1.009, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.988/1.988, allocations: 377.8 MB / 0.6239 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.8116 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.545e-05/1.719e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.973 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001134/0.001151, allocations: 0.6774 MB / 0.8123 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007942/0.001946, allocations: 0.8634 MB / 0.8131 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.00198, allocations: 7.875 kB / 0.8131 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.002005, allocations: 1.188 kB / 0.8131 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.854e-05/0.002063, allocations: 0 / 0.8131 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.002238, allocations: 19.91 kB / 0.8131 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.676e-05/0.002305, allocations: 25.33 kB / 0.8132 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.713e-05/0.002392, allocations: 4 kB / 0.8132 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.43e-05/0.002466, allocations: 19.92 kB / 0.8132 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.11e-05/0.002498, allocations: 4.75 kB / 0.8132 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.002511, allocations: 0 / 0.8132 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.814e-05/0.002549, allocations: 4.906 kB / 0.8132 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.002566, allocations: 11.97 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.002585, allocations: 4 kB / 0.8132 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.641e-05/0.002682, allocations: 24.52 kB / 0.8132 GB, free: 328 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.002684, allocations: 4 kB / 0.8132 GB, free: 324 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002684, allocations: 0.5 kB / 0.8132 GB, free: 324 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.002688, allocations: 0.5312 kB / 0.8132 GB, free: 324 kB / 0.7605 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.0003399/0.003028, allocations: 357.9 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.003064, allocations: 8.031 kB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.205e-05/0.003156, allocations: 12.83 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.245e-05/0.003239, allocations: 106.9 kB / 0.8137 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.003251, allocations: 4.375 kB / 0.8137 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-06/0.003257, allocations: 4.312 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.003369, allocations: 54.95 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.003376, allocations: 192 / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.003384, allocations: 384 / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.003392, allocations: 5.016 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.939e-05/0.003422, allocations: 7.938 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.00369, allocations: 245.3 kB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.152e-05/0.003741, allocations: 31.05 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.003765, allocations: 15.73 kB / 0.814 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.003783, allocations: 1.188 kB / 0.814 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.003804, allocations: 33.39 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.003805, allocations: 0 / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001329/0.003937, allocations: 46.12 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.003968, allocations: 59.88 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.076e-05/0.004038, allocations: 162.5 kB / 0.8143 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.004048, allocations: 25.7 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.004087, allocations: 127.8 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.004102, allocations: 3.953 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.004128, allocations: 24.19 kB / 0.8145 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.004236, allocations: 496.1 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.004248, allocations: 4.531 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.735e-06/0.004256, allocations: 1.375 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.47e-05/0.00428, allocations: 15.62 kB / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004282, allocations: 0 / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.827e-05/0.00435, allocations: 42.88 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.004364, allocations: 11.94 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.00437, allocations: 3.938 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.004383, allocations: 0.8438 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.256e-05/0.004445, allocations: 4.719 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.00445, allocations: 0 / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.817e-05/0.004468, allocations: 4.594 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.004473, allocations: 5.328 kB / 0.8151 GB, free: 14.23 MB / 0.7761 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 6.805e-05/0.004541, allocations: 160.6 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.004555, allocations: 4 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.821e-05/0.004633, allocations: 45.72 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.004635, allocations: 0 / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.004639, allocations: 1.656 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.004642, allocations: 0 / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.019e-05/0.004732, allocations: 120.6 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.004733, allocations: 0 / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.004756, allocations: 12.8 kB / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.004758, allocations: 0 / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.004764, allocations: 8 kB / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.004767, allocations: 7.406 kB / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.004768, allocations: 0 / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.911e-05/0.004847, allocations: 183.9 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.004853, allocations: 7.938 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.395e-06/0.004862, allocations: 0 / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.01e-05/0.004892, allocations: 7.938 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.004923, allocations: 3.984 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.004924, allocations: 0 / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.436e-05/0.004959, allocations: 127.7 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.004959, allocations: 0 / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001375/0.005096, allocations: 5.906 kB / 0.8157 GB, free: 13.49 MB / 0.7761 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 6.616e-05/0.005163, allocations: 91.25 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.028e-05/0.005233, allocations: 23.61 kB / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.005234, allocations: 1.25 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-05/0.005249, allocations: 11.69 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.005424, allocations: 15.78 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.005834, allocations: 119.3 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.237e-05/0.005867, allocations: 59.34 kB / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.675e-05/0.005884, allocations: 4.781 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.005907, allocations: 9.781 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of SimCode: time 7.52e-07/0.005907, allocations: 0 / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of Templates: time 0.002067/0.007975, allocations: 495 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.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: 5.1417939469683915]