Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, 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.001684/0.001684, allocations: 193.5 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.63/1.63, allocations: 222.9 MB / 239.8 MB, free: 4.523 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.987/2.987, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.89 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.86/0.862, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.00204/0.8641, allocations: 0.6797 MB / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009759/0.8651, allocations: 0.804 MB / 1.018 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.8651, allocations: 0 / 1.018 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.976e-05/0.8651, allocations: 0 / 1.018 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.229e-05/0.8652, allocations: 7.922 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.8654, allocations: 11.98 kB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.249e-05/0.8654, allocations: 15.94 kB / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.229e-05/0.8655, allocations: 0 / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.246e-05/0.8656, allocations: 11.92 kB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.709e-05/0.8656, allocations: 8 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.8657, allocations: 4 kB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.8657, allocations: 0 / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.8657, allocations: 15.84 kB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.8657, allocations: 4 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.618e-05/0.8658, allocations: 19.92 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.8658, allocations: 0 / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.92e-07/0.8658, allocations: 0 / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.8658, allocations: 0 / 1.018 GB, free: 1.188 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004711/0.8663, allocations: 329.5 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.8664, allocations: 16.03 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.8664, allocations: 4.844 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.8666, allocations: 160.4 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.8666, allocations: 384 / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.8666, allocations: 4.375 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.8667, allocations: 34.25 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.8668, allocations: 192 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.8668, allocations: 3.938 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.8668, allocations: 0 / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.775e-05/0.8669, allocations: 23.92 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.8671, allocations: 153.7 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.276e-05/0.8671, allocations: 18.61 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.717e-05/0.8672, allocations: 12.91 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.8672, allocations: 4 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.8673, allocations: 34.56 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.8673, allocations: 4 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0002202/0.8675, allocations: 61.55 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.8676, allocations: 51.41 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.8677, allocations: 97.86 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.8677, allocations: 37.64 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.8678, allocations: 84.08 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.8678, allocations: 7.891 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.8678, allocations: 13.84 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.868, allocations: 318.8 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.199e-05/0.8681, allocations: 4 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-05/0.8681, allocations: 7.984 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.45e-05/0.8682, allocations: 20.84 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8682, allocations: 0 / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001138/0.8683, allocations: 49.69 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.8683, allocations: 9.25 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.8683, allocations: 3.938 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.8684, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.872e-05/0.8684, allocations: 7.984 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.8684, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.291e-05/0.8685, allocations: 3.938 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.8685, allocations: 0 / 1.02 GB, free: 15.41 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 (1): * Single equations (assignments): 1 * 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 9.393e-05/0.8686, allocations: 118.4 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.735e-06/0.8686, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.8686, allocations: 7.062 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.8686, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.8686, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.8687, allocations: 7.984 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.8688, allocations: 149.7 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8688, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.8688, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.8688, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.8688, allocations: 3.938 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8689, allocations: 8 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.8689, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.869, allocations: 73.05 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.8691, allocations: 85 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.8691, allocations: 3.938 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.242e-05/0.8691, allocations: 4 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.8692, allocations: 4.281 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.8692, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.066e-05/0.8692, allocations: 91.27 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8692, allocations: 3.938 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001814/0.8694, allocations: 4 kB / 1.02 GB, free: 14.76 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 (1): * Single equations (assignments): 1 * 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.000129/0.8696, allocations: 95.25 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.8697, allocations: 19.98 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8697, allocations: 4.062 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.049e-05/0.8698, allocations: 15.86 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.8699, allocations: 5.891 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.8702, allocations: 104.4 kB / 1.02 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.8705, allocations: 0.6731 MB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.333e-05/0.8706, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.8706, allocations: 15.5 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8706, allocations: 0 / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of Templates: time 0.002439/0.8731, allocations: 250.9 kB / 1.021 GB, free: 13.53 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches