Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.001257/0.001257, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001447/0.001447, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9331/0.9331, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.034/2.034, allocations: 429.5 MB / 0.6732 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.445e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001546/0.00157, allocations: 0.7246 MB / 0.879 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008477/0.002418, allocations: 0.849 MB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.002459, allocations: 0.6875 kB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.002494, allocations: 0.7656 kB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.565e-05/0.002579, allocations: 7.953 kB / 0.8798 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.509e-05/0.002654, allocations: 15.98 kB / 0.8798 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.937e-05/0.002744, allocations: 41.52 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.002856, allocations: 11.98 kB / 0.8799 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.083e-05/0.002947, allocations: 24.48 kB / 0.8799 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.154e-05/0.002989, allocations: 15.97 kB / 0.8799 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.003014, allocations: 5.094 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.344e-06/0.003022, allocations: 4 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.00304, allocations: 7.984 kB / 0.8799 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.003067, allocations: 16.58 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.509e-05/0.003162, allocations: 35.84 kB / 0.88 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.003166, allocations: 1.625 kB / 0.88 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.582e-06/0.003168, allocations: 0 / 0.88 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.003172, allocations: 0 / 0.88 GB, free: 4.512 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003867/0.003559, allocations: 380.2 kB / 0.8803 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.0036, allocations: 8.031 kB / 0.8803 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.003638, allocations: 4.938 kB / 0.8803 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.623e-05/0.003724, allocations: 116.5 kB / 0.8804 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.003735, allocations: 4.375 kB / 0.8805 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.003747, allocations: 4.375 kB / 0.8805 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.00389, allocations: 62.94 kB / 0.8805 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.003896, allocations: 192 / 0.8805 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.003906, allocations: 384 / 0.8805 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.003913, allocations: 384 / 0.8805 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.394e-05/0.003947, allocations: 16.8 kB / 0.8805 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.004251, allocations: 267.8 kB / 0.8808 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.746e-05/0.004338, allocations: 39.8 kB / 0.8808 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.00437, allocations: 16.73 kB / 0.8808 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.004379, allocations: 0 / 0.8808 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.004399, allocations: 33.39 kB / 0.8809 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.0044, allocations: 11.53 kB / 0.8809 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001704/0.004571, allocations: 53.58 kB / 0.8809 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.004607, allocations: 51.41 kB / 0.881 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.29e-05/0.00469, allocations: 165.9 kB / 0.8811 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.004701, allocations: 25.7 kB / 0.8812 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.004755, allocations: 134.9 kB / 0.8813 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.004775, allocations: 7.906 kB / 0.8813 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.004807, allocations: 23.38 kB / 0.8813 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.004931, allocations: 496.1 kB / 0.8818 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.004952, allocations: 4.719 kB / 0.8818 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.335e-05/0.004965, allocations: 0 / 0.8818 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.993e-05/0.005005, allocations: 24.22 kB / 0.8818 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.005007, allocations: 0 / 0.8818 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.958e-05/0.005077, allocations: 46.22 kB / 0.8819 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.005096, allocations: 9.062 kB / 0.8819 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.005101, allocations: 0 / 0.8819 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.005115, allocations: 0 / 0.8819 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.005215, allocations: 13.52 kB / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.00522, allocations: 0 / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.334e-05/0.005244, allocations: 8 kB / 0.8819 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.00525, allocations: 0 / 0.8819 GB, free: 2.328 MB / 0.8386 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 (3): * Single equations (assignments): 3 * 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.637e-05/0.005327, allocations: 168.6 kB / 0.8821 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.005341, allocations: 7.891 kB / 0.8821 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.005367, allocations: 15.88 kB / 0.8821 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.005369, allocations: 0 / 0.8821 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.005372, allocations: 0 / 0.8821 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.005376, allocations: 0 / 0.8821 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.005478, allocations: 120.6 kB / 0.8822 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.00548, allocations: 0 / 0.8822 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-05/0.00551, allocations: 11.98 kB / 0.8822 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.005511, allocations: 0 / 0.8822 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.00552, allocations: 8 kB / 0.8822 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.005523, allocations: 3.938 kB / 0.8822 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.005524, allocations: 0 / 0.8822 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.005641, allocations: 192.3 kB / 0.8824 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-06/0.005649, allocations: 3.953 kB / 0.8824 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.00566, allocations: 48 / 0.8824 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.88e-05/0.005699, allocations: 15.91 kB / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.005742, allocations: 7.938 kB / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.005744, allocations: 0 / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.512e-05/0.005789, allocations: 131.2 kB / 0.8826 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.00579, allocations: 4 kB / 0.8826 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000133/0.005922, allocations: 8 kB / 0.8826 GB, free: 1.578 MB / 0.8386 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 (3): * Single equations (assignments): 3 * 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 9.681e-05/0.006019, allocations: 91.25 kB / 0.8827 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.253e-05/0.006112, allocations: 23.67 kB / 0.8827 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.006114, allocations: 0 / 0.8827 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-05/0.00614, allocations: 15.69 kB / 0.8827 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.00634, allocations: 7.984 kB / 0.8827 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.006635, allocations: 142.2 kB / 0.8828 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.469e-05/0.00667, allocations: 55.36 kB / 0.8829 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.13e-05/0.006691, allocations: 3.984 kB / 0.8829 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.006722, allocations: 12.5 kB / 0.8829 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of SimCode: time 6.91e-07/0.006722, allocations: 0 / 0.8829 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of Templates: time 0.002505/0.009227, allocations: 0.7917 MB / 0.8837 GB, free: 392 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.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.391990365926176]