Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.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.0009733/0.0009733, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001181/0.001181, allocations: 161 kB / 24.17 MB, free: 332 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.9638/0.9638, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.895/1.895, allocations: 377.9 MB / 0.624 GB, free: 8.332 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.916e-05, allocations: 10.17 kB / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001244/0.001263, allocations: 0.6868 MB / 0.7608 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000776/0.002039, allocations: 0.8607 MB / 0.7616 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.002073, allocations: 0 / 0.7616 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.002101, allocations: 3.938 kB / 0.7616 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.484e-05/0.002165, allocations: 5.719 kB / 0.7616 GB, free: 5 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.002323, allocations: 8.641 kB / 0.7616 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.459e-05/0.002388, allocations: 27.92 kB / 0.7616 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.61e-05/0.002454, allocations: 0.5 kB / 0.7616 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.635e-05/0.00253, allocations: 21.84 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.936e-05/0.00256, allocations: 8.984 kB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.002573, allocations: 4 kB / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.997e-05/0.002613, allocations: 9.719 kB / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.00263, allocations: 4.859 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.002648, allocations: 5.188 kB / 0.7617 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.762e-05/0.002725, allocations: 17.91 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.002727, allocations: 0 / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002728, allocations: 0 / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.585e-06/0.00273, allocations: 2.438 kB / 0.7617 GB, free: 4.906 MB / 0.7136 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.0002764/0.003007, allocations: 233 kB / 0.7619 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.003039, allocations: 8.031 kB / 0.7619 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.946e-05/0.003129, allocations: 8.891 kB / 0.762 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.797e-05/0.003207, allocations: 111 kB / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.003217, allocations: 1.359 kB / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.003226, allocations: 384 / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.48e-05/0.003321, allocations: 60.97 kB / 0.7621 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.003328, allocations: 4.125 kB / 0.7621 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.003335, allocations: 384 / 0.7621 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.003341, allocations: 4.375 kB / 0.7621 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.911e-05/0.00336, allocations: 3.938 kB / 0.7621 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.003561, allocations: 144.3 kB / 0.7623 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.646e-05/0.003608, allocations: 19.33 kB / 0.7623 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.003625, allocations: 14.98 kB / 0.7623 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.003639, allocations: 0 / 0.7623 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.003662, allocations: 40.28 kB / 0.7623 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.003663, allocations: 0 / 0.7623 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001082/0.003772, allocations: 33.73 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.003805, allocations: 59.34 kB / 0.7624 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.272e-05/0.003857, allocations: 103.9 kB / 0.7625 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.003866, allocations: 25.7 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.839e-05/0.003895, allocations: 88.11 kB / 0.7626 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.003911, allocations: 8.484 kB / 0.7626 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.003933, allocations: 14.5 kB / 0.7627 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.665e-05/0.004, allocations: 314.8 kB / 0.763 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-06/0.004006, allocations: 1.203 kB / 0.763 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.045e-06/0.004014, allocations: 4.781 kB / 0.763 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.835e-05/0.004033, allocations: 17.88 kB / 0.763 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004034, allocations: 0 / 0.763 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.328e-05/0.004068, allocations: 30.39 kB / 0.763 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.00408, allocations: 8 kB / 0.763 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.004084, allocations: 1.812 kB / 0.763 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.004096, allocations: 0 / 0.763 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.669e-05/0.004153, allocations: 11.92 kB / 0.763 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.004155, allocations: 0 / 0.763 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.468e-05/0.00417, allocations: 6.75 kB / 0.763 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.004174, allocations: 0.875 kB / 0.763 GB, free: 3.41 MB / 0.7136 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 4.837e-05/0.004222, allocations: 117.8 kB / 0.7632 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.004235, allocations: 7.984 kB / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.004289, allocations: 41 kB / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.004291, allocations: 0 / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.004294, allocations: 9.781 kB / 0.7632 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.004298, allocations: 4 kB / 0.7632 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.266e-05/0.004371, allocations: 61.91 kB / 0.7633 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.004371, allocations: 0.6562 kB / 0.7633 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.818e-05/0.004389, allocations: 7.984 kB / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.004391, allocations: 0.9375 kB / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-06/0.004395, allocations: 0 / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.004396, allocations: 0 / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.004397, allocations: 0.7188 kB / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.594e-05/0.004463, allocations: 145 kB / 0.7634 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-06/0.004468, allocations: 3.953 kB / 0.7634 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.525e-06/0.004475, allocations: 0.5 kB / 0.7634 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.989e-05/0.004505, allocations: 11.06 kB / 0.7634 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.004531, allocations: 3.984 kB / 0.7634 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.004532, allocations: 0 / 0.7634 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.109e-05/0.004543, allocations: 12.8 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.004543, allocations: 0.875 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001083/0.004652, allocations: 4 kB / 0.7635 GB, free: 2.945 MB / 0.7136 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 7.102e-05/0.004723, allocations: 76.42 kB / 0.7635 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.538e-05/0.004768, allocations: 19.27 kB / 0.7635 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.00477, allocations: 3.938 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.111e-05/0.004781, allocations: 8.859 kB / 0.7636 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.004905, allocations: 11.94 kB / 0.7636 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001818/0.005087, allocations: 110 kB / 0.7637 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.352e-05/0.005111, allocations: 52.02 kB / 0.7637 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.191e-05/0.005122, allocations: 0.9062 kB / 0.7637 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.005157, allocations: 55.36 kB / 0.7638 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.005158, allocations: 1.156 kB / 0.7638 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of Templates: time 0.001702/0.00686, allocations: 459.2 kB / 0.7642 GB, free: 2.121 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.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.004409082699567]