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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001256/0.001256, allocations: 102.8 kB / 16.35 MB, free: 5.828 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.001289/0.001289, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.638/2.638, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001242, allocations: 64.56 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3137, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001964/0.3157, allocations: 0.6746 MB / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3169, allocations: 0.8064 MB / 1.028 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.434e-05/0.3169, allocations: 0 / 1.028 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.317, allocations: 0 / 1.028 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.562e-05/0.317, allocations: 7.938 kB / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.3172, allocations: 4 kB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.197e-05/0.3173, allocations: 23.92 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3174, allocations: 11.97 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.026e-05/0.3174, allocations: 11.94 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.217e-05/0.3175, allocations: 15.98 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.3176, allocations: 3.938 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.005e-05/0.3176, allocations: 4 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.3176, allocations: 0 / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.3176, allocations: 7.938 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.538e-05/0.3177, allocations: 15.97 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3177, allocations: 4 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3177, allocations: 0 / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3177, allocations: 0 / 1.028 GB, free: 460 kB / 0.795 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.0004293/0.3182, allocations: 336.8 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.3182, allocations: 12.02 kB / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.3182, allocations: 8.844 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.3184, allocations: 172.2 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3184, allocations: 384 / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.3184, allocations: 4.312 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.3186, allocations: 50.23 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3186, allocations: 192 / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3186, allocations: 3.938 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.3186, allocations: 8 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.3188, allocations: 31.95 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.3191, allocations: 248.9 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.3192, allocations: 38.5 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.482e-05/0.3193, allocations: 28.91 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.3194, allocations: 3.984 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.3194, allocations: 30.56 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3194, allocations: 0 / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003326/0.3197, allocations: 85.58 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.3198, allocations: 55.53 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.674e-05/0.3199, allocations: 97.84 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.3199, allocations: 33.7 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.32, allocations: 80.14 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.32, allocations: 7.891 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.32, allocations: 13.72 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3201, allocations: 314.8 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.231e-05/0.3202, allocations: 15.98 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.602e-05/0.3203, allocations: 19.98 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.3204, allocations: 40.81 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3204, allocations: 0 / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001838/0.3206, allocations: 77.53 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3207, allocations: 8 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3207, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3207, allocations: 4 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.457e-05/0.3208, allocations: 4 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3208, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.193e-05/0.3208, allocations: 7.984 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.3209, allocations: 0 / 1.03 GB, free: 14.42 MB / 0.8106 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 0.0001434/0.321, allocations: 121.7 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.321, allocations: 4 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.3213, allocations: 72.7 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3213, allocations: 4 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3213, allocations: 3.938 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3213, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.3214, allocations: 157.6 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3214, allocations: 0 / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.651e-05/0.3215, allocations: 7.984 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3215, allocations: 8.031 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3215, allocations: 4 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3215, allocations: 0 / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3215, allocations: 0 / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.3218, allocations: 159.5 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.3218, allocations: 81.02 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.3218, allocations: 4.031 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.3219, allocations: 11.92 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.322, allocations: 8 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.322, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.288e-05/0.322, allocations: 87.2 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.322, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002123/0.3222, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 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.0001327/0.3224, allocations: 103.2 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.3226, allocations: 31.97 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3226, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.124e-05/0.3227, allocations: 23.97 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.323, allocations: 14.38 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.3233, allocations: 105.7 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.3237, allocations: 0.6806 MB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.056e-05/0.3238, allocations: 0 / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.3238, allocations: 11.44 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3238, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of Templates: time 0.002404/0.3262, allocations: 443.4 kB / 1.032 GB, free: 12.14 MB / 0.8106 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=480 -s gbode -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