Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001484, allocations: 107.2 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 191.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.643/2.643, allocations: 482.4 MB / 0.7553 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 71.56 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7087/0.7106, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001825/0.7125, allocations: 0.6674 MB / 1.084 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007612/0.7133, allocations: 0.7954 MB / 1.084 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.7133, allocations: 0 / 1.084 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/0.7134, allocations: 1.578 kB / 1.084 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.912e-05/0.7134, allocations: 3.938 kB / 1.084 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.7136, allocations: 12.91 kB / 1.084 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.873e-05/0.7136, allocations: 27.72 kB / 1.084 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.7138, allocations: 4.922 kB / 1.084 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.645e-05/0.7138, allocations: 13.53 kB / 1.084 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.5e-05/0.7139, allocations: 8.812 kB / 1.084 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.7139, allocations: 2.594 kB / 1.084 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/0.7139, allocations: 1.344 kB / 1.084 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.7139, allocations: 6.031 kB / 1.084 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.7139, allocations: 11.27 kB / 1.084 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.103e-05/0.714, allocations: 20.53 kB / 1.084 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.714, allocations: 4.656 kB / 1.084 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.263e-06/0.714, allocations: 0 / 1.084 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.714, allocations: 0 / 1.084 GB, free: 0.5664 MB / 0.8262 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.0003522/0.7144, allocations: 335.7 kB / 1.085 GB, free: 216 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.7144, allocations: 9.125 kB / 1.085 GB, free: 216 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.7145, allocations: 2.156 kB / 1.085 GB, free: 216 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.772e-05/0.7145, allocations: 167.2 kB / 1.085 GB, free: 12 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.7146, allocations: 5.406 kB / 1.085 GB, free: 8 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.7146, allocations: 1.688 kB / 1.085 GB, free: 8 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.7148, allocations: 53.8 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.7148, allocations: 192 / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.7148, allocations: 3.938 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.7148, allocations: 0.5625 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.715, allocations: 32.92 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.7154, allocations: 246.7 kB / 1.085 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.7155, allocations: 44 kB / 1.085 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.357e-05/0.7156, allocations: 24.12 kB / 1.085 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.7156, allocations: 1.031 kB / 1.085 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.7157, allocations: 31.12 kB / 1.085 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 3.417e-06/0.7157, allocations: 8.656 kB / 1.085 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003655/0.7161, allocations: 87.69 kB / 1.085 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.7161, allocations: 56.56 kB / 1.086 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.7162, allocations: 105.5 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.7162, allocations: 25.7 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.7163, allocations: 81.88 kB / 1.086 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.7163, allocations: 10.42 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.7164, allocations: 19.41 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.7166, allocations: 317.1 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.332e-05/0.7167, allocations: 14.7 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.68e-05/0.7167, allocations: 18.77 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.7169, allocations: 40.83 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.7169, allocations: 0 / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002026/0.7171, allocations: 70.95 kB / 1.086 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.7172, allocations: 6.469 kB / 1.086 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.7172, allocations: 0 / 1.086 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.7172, allocations: 0 / 1.086 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.938e-05/0.7173, allocations: 9.484 kB / 1.086 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.7173, allocations: 0.75 kB / 1.086 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.7173, allocations: 10.27 kB / 1.086 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.7174, allocations: 1.062 kB / 1.086 GB, free: 14.85 MB / 0.8419 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.93e-05/0.7174, allocations: 116.1 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.7175, allocations: 1.906 kB / 1.086 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.7177, allocations: 71.44 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.7177, allocations: 0.7031 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.7177, allocations: 4.031 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.7177, allocations: 1.094 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.7179, allocations: 159.8 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.7179, allocations: 0 / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.775e-05/0.718, allocations: 12.62 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.718, allocations: 2.234 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.718, allocations: 0 / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.718, allocations: 0 / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.718, allocations: 2.031 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.7183, allocations: 165.1 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.7184, allocations: 83.25 kB / 1.087 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.7184, allocations: 5.344 kB / 1.087 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.044e-05/0.7185, allocations: 10.06 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.7185, allocations: 3.344 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.7185, allocations: 0 / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.264e-05/0.7186, allocations: 84.34 kB / 1.087 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7186, allocations: 0 / 1.087 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002052/0.7188, allocations: 3.219 kB / 1.087 GB, free: 14.16 MB / 0.8419 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.0001275/0.7189, allocations: 106.6 kB / 1.087 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002107/0.7191, allocations: 42.94 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7191, allocations: 0.625 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.301e-05/0.7192, allocations: 20.69 kB / 1.087 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.7195, allocations: 7.516 kB / 1.087 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.7198, allocations: 137.5 kB / 1.087 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.7202, allocations: 0.6759 MB / 1.088 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.7202, allocations: 9.672 kB / 1.088 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.7202, allocations: 0 / 1.088 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of Templates: time 0.002058/0.7223, allocations: 0.5435 MB / 1.088 GB, free: 13.16 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches