Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Continuous.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 110.3 kB / 16.41 MB, free: 6.492 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.001512/0.001512, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.502/1.502, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 390.2 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 63.91 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9221/0.9238, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10): time 0.001754/0.9256, allocations: 0.6698 MB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008297/0.9265, allocations: 0.8027 MB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.424e-05/0.9265, allocations: 1.062 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.9266, allocations: 4.547 kB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.274e-05/0.9266, allocations: 0 / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.9268, allocations: 5.406 kB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.375e-05/0.9268, allocations: 32.11 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.9269, allocations: 8.5 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.787e-05/0.927, allocations: 4.578 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.282e-05/0.9271, allocations: 14.47 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.9271, allocations: 6.141 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-06/0.9271, allocations: 1.188 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.9271, allocations: 6.406 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.9271, allocations: 6.953 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.384e-05/0.9272, allocations: 24.83 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.9272, allocations: 3.938 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.022e-06/0.9272, allocations: 4 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.9273, allocations: 1.641 kB / 1.09 GB, free: 4.445 MB / 0.8575 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.0003568/0.9276, allocations: 328.5 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.9277, allocations: 9.344 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.9277, allocations: 10.62 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.399e-05/0.9278, allocations: 166.3 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.9278, allocations: 1.531 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.9278, allocations: 2.031 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.928, allocations: 52.47 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.928, allocations: 1.188 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.928, allocations: 3.938 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.928, allocations: 1.656 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.9282, allocations: 31.3 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002734/0.9285, allocations: 251.1 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.9286, allocations: 44.05 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.28e-05/0.9287, allocations: 19.34 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.9287, allocations: 1.297 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.9287, allocations: 40.25 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.9287, allocations: 0 / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003434/0.9291, allocations: 84.5 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.9291, allocations: 52.25 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.59e-05/0.9292, allocations: 101.2 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.9292, allocations: 25.7 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.432e-05/0.9292, allocations: 93.62 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.9293, allocations: 1.484 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.9293, allocations: 17.36 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.196e-05/0.9293, allocations: 313 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.369e-05/0.9294, allocations: 18.42 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.387e-05/0.9295, allocations: 14.28 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.9297, allocations: 40.47 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.9297, allocations: 5.156 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001857/0.9299, allocations: 74.27 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.9299, allocations: 6.172 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.9299, allocations: 0 / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.9299, allocations: 5.031 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.93, allocations: 8.625 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.93, allocations: 0 / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.822e-05/0.9301, allocations: 10.47 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.9301, allocations: 1.594 kB / 1.092 GB, free: 2.734 MB / 0.8575 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.516e-05/0.9301, allocations: 112.4 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.9302, allocations: 1.438 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.9304, allocations: 75.2 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.9304, allocations: 192 / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.9304, allocations: 1.609 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.9304, allocations: 8.016 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.9305, allocations: 163.3 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.9305, allocations: 1.516 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6e-05/0.9306, allocations: 7.953 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.9306, allocations: 0.9375 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.9306, allocations: 1.984 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.9306, allocations: 0 / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9306, allocations: 0 / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.9309, allocations: 167.6 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.9309, allocations: 85.56 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.9309, allocations: 1.594 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.455e-05/0.931, allocations: 5.734 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.931, allocations: 2.422 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.931, allocations: 1.344 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.607e-05/0.9311, allocations: 83.61 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9311, allocations: 4.031 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002074/0.9313, allocations: 4.562 kB / 1.093 GB, free: 2.035 MB / 0.8575 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.0001362/0.9314, allocations: 101.2 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.9316, allocations: 35.84 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.9317, allocations: 0 / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.5e-05/0.9317, allocations: 24.52 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.932, allocations: 11.05 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.9323, allocations: 130.5 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.9325, allocations: 0.6801 MB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.9325, allocations: 8.812 kB / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of SimCode: time 8.51e-07/0.9325, allocations: 1.062 kB / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of Templates: time 0.001985/0.9345, allocations: 0.5409 MB / 1.094 GB, free: 1.051 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches