Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001816/0.001816, allocations: 195.9 kB / 16.14 MB, free: 6.711 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.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.606/2.606, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 63.91 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8435/0.8448, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002182/0.847, allocations: 0.7238 MB / 1.017 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.848, allocations: 0.8079 MB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.8481, allocations: 0 / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.875e-05/0.8482, allocations: 7.938 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.298e-05/0.8482, allocations: 3.938 kB / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.8484, allocations: 7.984 kB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.949e-05/0.8485, allocations: 23.92 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.8486, allocations: 11.92 kB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.375e-05/0.8486, allocations: 8 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.328e-05/0.8487, allocations: 15.92 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.8487, allocations: 0 / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.8487, allocations: 4 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.8488, allocations: 0 / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.8488, allocations: 7.938 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.932e-05/0.8489, allocations: 23.95 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.8489, allocations: 0 / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8489, allocations: 0 / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.8489, allocations: 4 kB / 1.018 GB, free: 1.148 MB / 0.7637 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.0004646/0.8494, allocations: 333.5 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.8494, allocations: 11.97 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.8495, allocations: 8.922 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.8496, allocations: 168.3 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.8496, allocations: 384 / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.8497, allocations: 384 / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.8499, allocations: 54.17 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.8499, allocations: 192 / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.8499, allocations: 7.938 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.8499, allocations: 8 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.8501, allocations: 31.95 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.8505, allocations: 248.9 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.8506, allocations: 38.5 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.718e-05/0.8507, allocations: 24.91 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.8507, allocations: 3.984 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.8508, allocations: 34.56 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.8508, allocations: 0 / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0003848/0.8512, allocations: 81.8 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.8512, allocations: 55.39 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.147e-05/0.8513, allocations: 97.86 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.8513, allocations: 25.7 kB / 1.019 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.8514, allocations: 92.08 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.8514, allocations: 3.906 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.8514, allocations: 17.7 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.8515, allocations: 310.8 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/0.8516, allocations: 20.02 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.717e-05/0.8517, allocations: 11.98 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.8519, allocations: 44.81 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.8519, allocations: 3.938 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001922/0.8521, allocations: 73.61 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.8521, allocations: 7.984 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8521, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.8521, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.249e-05/0.8522, allocations: 8 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.8522, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.309e-05/0.8523, allocations: 11.89 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.8523, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 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.479e-05/0.8524, allocations: 118.3 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.8524, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.8527, allocations: 76.7 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.8527, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.8527, allocations: 4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.8527, allocations: 3.828 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.8529, allocations: 157.6 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8529, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.054e-05/0.8529, allocations: 12.02 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.853, allocations: 0 / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.853, allocations: 4 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.853, allocations: 0 / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.853, allocations: 0 / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.8532, allocations: 163.5 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/0.8533, allocations: 81.14 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.8533, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-05/0.8534, allocations: 7.984 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.8534, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.8534, allocations: 7.938 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.144e-05/0.8535, allocations: 83.27 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8535, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002116/0.8537, allocations: 4 kB / 1.021 GB, free: 14.31 MB / 0.7794 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.0001462/0.8539, allocations: 103.2 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.8541, allocations: 31.97 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8541, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.834e-05/0.8542, allocations: 23.97 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.8545, allocations: 9.188 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.8548, allocations: 120 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.8551, allocations: 0.677 MB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.788e-05/0.8551, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.8552, allocations: 7.438 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.8552, allocations: 3.938 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.002332/0.8575, allocations: 361.5 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches