Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.001148/0.001148, allocations: 83.69 kB / 20.45 MB, free: 4.129 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.00131/0.00131, allocations: 161 kB / 23.82 MB, free: 0.7617 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 1.04/1.04, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.911/1.911, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.246e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001276/0.001298, allocations: 0.6884 MB / 0.8123 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008054/0.002104, allocations: 0.8586 MB / 0.8131 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.002137, allocations: 5.625 kB / 0.8131 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.002165, allocations: 0 / 0.8131 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.124e-05/0.002226, allocations: 3.938 kB / 0.8131 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.002416, allocations: 19.91 kB / 0.8131 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.376e-05/0.00248, allocations: 25.2 kB / 0.8132 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.497e-05/0.002565, allocations: 8 kB / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.426e-05/0.002629, allocations: 11.98 kB / 0.8132 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.205e-05/0.002661, allocations: 7.938 kB / 0.8132 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.002676, allocations: 1.594 kB / 0.8132 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.995e-05/0.002716, allocations: 7.938 kB / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.002731, allocations: 7.984 kB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.84e-05/0.00275, allocations: 7.984 kB / 0.8132 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.261e-05/0.002842, allocations: 16.52 kB / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.002844, allocations: 1.656 kB / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002845, allocations: 4 kB / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.002849, allocations: 0 / 0.8132 GB, free: 8 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.0003389/0.003188, allocations: 364.5 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.003227, allocations: 12.67 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.167e-05/0.003319, allocations: 4.938 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.061e-05/0.00341, allocations: 109.7 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.003422, allocations: 384 / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.003432, allocations: 4.375 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.003549, allocations: 56.11 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.00356, allocations: 192 / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.003568, allocations: 384 / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.003576, allocations: 1.75 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.049e-05/0.003607, allocations: 11.92 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.003867, allocations: 243.9 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.319e-05/0.00392, allocations: 32.75 kB / 0.814 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/0.003939, allocations: 7.688 kB / 0.8141 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.003959, allocations: 8.047 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.003979, allocations: 33.39 kB / 0.8141 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.953e-06/0.003981, allocations: 6.359 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001354/0.004117, allocations: 49.53 kB / 0.8141 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.004145, allocations: 55.41 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.611e-05/0.004211, allocations: 161.9 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.00422, allocations: 25.7 kB / 0.8144 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.004259, allocations: 126.9 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.004275, allocations: 5.922 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.004306, allocations: 23.38 kB / 0.8145 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.737e-05/0.004404, allocations: 496.1 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.004416, allocations: 4 kB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.256e-06/0.004424, allocations: 0 / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.761e-05/0.004452, allocations: 18.09 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.004454, allocations: 0 / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.491e-05/0.004499, allocations: 37.64 kB / 0.8151 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.00451, allocations: 8 kB / 0.8151 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.004516, allocations: 3.938 kB / 0.8151 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.004533, allocations: 6.453 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.004596, allocations: 4 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.0046, allocations: 0 / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.679e-05/0.004617, allocations: 11.88 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-06/0.004621, allocations: 0 / 0.8151 GB, free: 13.92 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 5.448e-05/0.004676, allocations: 157.3 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.00469, allocations: 7.984 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.313e-05/0.004763, allocations: 46.11 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.004765, allocations: 3.984 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.004769, allocations: 4 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.004772, allocations: 4.562 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.8e-05/0.00486, allocations: 112.6 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.00486, allocations: 0.7188 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.077e-05/0.004881, allocations: 8.828 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.004883, allocations: 0 / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.004888, allocations: 0 / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.00489, allocations: 9.781 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.004891, allocations: 0 / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.719e-05/0.004968, allocations: 184 kB / 0.8156 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.004974, allocations: 4 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-06/0.004982, allocations: 0.7812 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.848e-05/0.00501, allocations: 3.938 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.005042, allocations: 4.938 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.005046, allocations: 7.984 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.051e-05/0.005076, allocations: 124.3 kB / 0.8157 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005076, allocations: 0 / 0.8157 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001396/0.005216, allocations: 7.938 kB / 0.8158 GB, free: 13.18 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.599e-05/0.005282, allocations: 94.45 kB / 0.8158 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.046e-05/0.005352, allocations: 20.73 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.005353, allocations: 0 / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.684e-05/0.00537, allocations: 16.56 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.00554, allocations: 0 / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.005931, allocations: 132.1 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.221e-05/0.005963, allocations: 59.34 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.337e-05/0.005976, allocations: 1.344 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.006001, allocations: 8.5 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.006002, allocations: 0 / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of Templates: time 0.001813/0.007815, allocations: 474 kB / 0.8165 GB, free: 12.35 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.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.316920797806233]