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.001576/0.001576, allocations: 108 kB / 16.41 MB, free: 6.027 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.001536/0.001536, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.41/1.41, 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.279/2.279, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 67.91 kB / 0.9516 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8877/0.8893, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log10): time 0.001913/0.8913, allocations: 0.6705 MB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008874/0.8922, allocations: 0.7995 MB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.535e-05/0.8923, allocations: 0 / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.038e-05/0.8923, allocations: 0.7031 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.726e-05/0.8924, allocations: 9 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.8925, allocations: 5.375 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.466e-05/0.8926, allocations: 27.36 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.8927, allocations: 8.562 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.188e-05/0.8928, allocations: 9.188 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.43e-05/0.8928, allocations: 13.78 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.8929, allocations: 1.125 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.225e-06/0.8929, allocations: 2.156 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.8929, allocations: 6.312 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.8929, allocations: 11.7 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.32e-05/0.893, allocations: 20.05 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.893, allocations: 4.812 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.754e-06/0.893, allocations: 0 / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.8931, allocations: 0.6875 kB / 1.09 GB, free: 4.406 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.0003851/0.8934, allocations: 332.3 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.8935, allocations: 9.859 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.8935, allocations: 6.688 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.324e-05/0.8936, allocations: 174.5 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.8936, allocations: 2.031 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.8936, allocations: 1.625 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.8938, allocations: 48.33 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.8938, allocations: 1.188 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.8939, allocations: 11.88 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.8939, allocations: 1.906 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.894, allocations: 32.14 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.8943, allocations: 245.6 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.8945, allocations: 45.5 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.315e-05/0.8945, allocations: 23.42 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.8946, allocations: 0 / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.8946, allocations: 36.36 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.8946, allocations: 0 / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000353/0.895, allocations: 84.03 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.895, allocations: 53.47 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.251e-05/0.8951, allocations: 99.91 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.8951, allocations: 26.77 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.193e-05/0.8951, allocations: 86.16 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.8951, allocations: 5.578 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.8952, allocations: 12.61 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.8952, allocations: 312.6 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.494e-05/0.8953, allocations: 22 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.398e-05/0.8954, allocations: 14.58 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.8956, allocations: 37.53 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.8956, allocations: 0 / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001823/0.8957, allocations: 83.2 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.8958, allocations: 5.375 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.8958, allocations: 4.594 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.8958, allocations: 1.094 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.329e-05/0.8959, allocations: 8.594 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.8959, allocations: 3.984 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.958e-05/0.896, allocations: 6.609 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.896, allocations: 1.406 kB / 1.092 GB, free: 2.691 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.888e-05/0.896, allocations: 115.8 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.8961, allocations: 1.719 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.8963, allocations: 71.47 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.8963, allocations: 0 / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.8963, allocations: 1.281 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.8963, allocations: 4.781 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.8964, allocations: 163.3 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.8965, allocations: 0.5625 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.775e-05/0.8965, allocations: 13.12 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.8965, allocations: 4.641 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.8965, allocations: 0 / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.8965, allocations: 1.094 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8965, allocations: 1.125 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.8968, allocations: 170.6 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.8968, allocations: 81.72 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.8968, allocations: 1.469 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.588e-05/0.8969, allocations: 6.656 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.8969, allocations: 2.641 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.8969, allocations: 1.062 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.711e-05/0.897, allocations: 83.78 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.897, allocations: 0 / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002145/0.8972, allocations: 3.125 kB / 1.093 GB, free: 1.992 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.0001431/0.8974, allocations: 110.6 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.8976, allocations: 34.73 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8976, allocations: 0 / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.001e-05/0.8977, allocations: 20.67 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.898, allocations: 7.359 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.8984, allocations: 135.2 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.8985, allocations: 0.6757 MB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.8986, allocations: 9.438 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.8986, allocations: 7.875 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of Templates: time 0.002265/0.9008, allocations: 0.5336 MB / 1.094 GB, free: 1.012 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