Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Log10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log10_1.u|log10_1.y",fileNamePrefix="Buildings_10_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_10_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.001869/0.001869, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001918/0.001918, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.524/1.524, 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 10.1.1-maint.10.0.x/package.mo): time 2.667/2.667, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.00199, allocations: 67.91 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.925/0.9271, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001775/0.9289, allocations: 0.6599 MB / 1.168 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009867/0.9299, allocations: 0.8117 MB / 1.169 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.9299, allocations: 0 / 1.169 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.281e-05/0.9299, allocations: 0 / 1.169 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.059e-05/0.93, allocations: 7.922 kB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.9302, allocations: 11.98 kB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.204e-05/0.9303, allocations: 19.94 kB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.9304, allocations: 11.98 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.976e-05/0.9305, allocations: 8 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.242e-05/0.9305, allocations: 15.92 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.9305, allocations: 4 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.9305, allocations: 4 kB / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.9306, allocations: 0 / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.9306, allocations: 7.938 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.355e-05/0.9307, allocations: 27.88 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9307, allocations: 0 / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9307, allocations: 4 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.9307, allocations: 0 / 1.169 GB, free: 2.234 MB / 0.8887 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.0005213/0.9312, allocations: 335 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.9313, allocations: 12.03 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.9313, allocations: 8.938 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.9315, allocations: 169.3 kB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.9315, allocations: 384 / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.9315, allocations: 384 / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.9317, allocations: 54.17 kB / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.9317, allocations: 192 / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.9317, allocations: 3.938 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.9317, allocations: 4 kB / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.9319, allocations: 35.95 kB / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.9323, allocations: 245 kB / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.9324, allocations: 40.94 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.645e-05/0.9325, allocations: 32.83 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.9326, allocations: 4 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.9326, allocations: 30.56 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.9326, allocations: 0 / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003596/0.933, allocations: 81.64 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.933, allocations: 51.41 kB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.029e-05/0.9331, allocations: 101.9 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.9332, allocations: 29.7 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.9332, allocations: 92.02 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.9332, allocations: 7.938 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.9333, allocations: 13.72 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.9334, allocations: 314.8 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.224e-05/0.9335, allocations: 15.92 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.947e-05/0.9336, allocations: 23.97 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.9338, allocations: 36.83 kB / 1.171 GB, free: 320 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.9338, allocations: 0 / 1.171 GB, free: 320 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000214/0.934, allocations: 73.55 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.934, allocations: 4 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.934, allocations: 4.094 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.934, allocations: 0 / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.597e-05/0.9341, allocations: 8 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.9341, allocations: 3.984 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.781e-05/0.9342, allocations: 7.938 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.9342, allocations: 0 / 1.171 GB, free: 212 kB / 0.8887 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 8.541e-05/0.9343, allocations: 117.8 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.9343, allocations: 0 / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.9346, allocations: 72.77 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.9346, allocations: 4.047 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.9346, allocations: 0 / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.9346, allocations: 0 / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.9348, allocations: 157.6 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9348, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.969e-05/0.9349, allocations: 7.984 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.9349, allocations: 4 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.9349, allocations: 8.031 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.9349, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.9349, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.9352, allocations: 167.6 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.9352, allocations: 81.06 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.9353, allocations: 3.984 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.053e-05/0.9354, allocations: 12.02 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.9354, allocations: 4 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.9354, allocations: 7.938 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.281e-05/0.9355, allocations: 79.27 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9355, allocations: 4 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002154/0.9357, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 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.0001394/0.9358, allocations: 99.25 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.936, allocations: 43.89 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9361, allocations: 0 / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.708e-05/0.9362, allocations: 19.98 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.9364, allocations: 14.53 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.9368, allocations: 101.5 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.9371, allocations: 0.6808 MB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.134e-05/0.9371, allocations: 0 / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.9372, allocations: 11.44 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of SimCode: time 3.61e-07/0.9372, allocations: 4 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of Templates: time 0.002707/0.9399, allocations: 439.9 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches