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.001331/0.001331, allocations: 111.8 kB / 16.42 MB, free: 6.504 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.001325/0.001325, allocations: 185.5 kB / 17.34 MB, free: 5.758 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.439/1.439, 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.559/2.559, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002265, allocations: 67.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9732/0.9755, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002062/0.9776, allocations: 0.6156 MB / 1.168 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.9789, allocations: 0.8117 MB / 1.169 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.979, allocations: 0 / 1.169 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.979, allocations: 0 / 1.169 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.565e-05/0.9791, allocations: 7.922 kB / 1.169 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.9793, allocations: 11.98 kB / 1.169 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.846e-05/0.9794, allocations: 15.94 kB / 1.169 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.794e-05/0.9795, allocations: 4 kB / 1.169 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.9796, allocations: 7.984 kB / 1.169 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.765e-05/0.9797, allocations: 15.94 kB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.9797, allocations: 0 / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.9797, allocations: 4 kB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.992e-05/0.9797, allocations: 7.969 kB / 1.169 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.9798, allocations: 7.938 kB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.188e-05/0.9799, allocations: 7.984 kB / 1.169 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.9799, allocations: 4 kB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.347e-06/0.9799, allocations: 3.938 kB / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.9799, allocations: 3.938 kB / 1.169 GB, free: 2.328 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004801/0.9804, allocations: 335 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.9805, allocations: 8.922 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.9805, allocations: 4.891 kB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.9807, allocations: 165.4 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.9807, allocations: 384 / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.9807, allocations: 384 / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.9809, allocations: 38.25 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.9809, allocations: 192 / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.9809, allocations: 3.938 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.9809, allocations: 8 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.724e-05/0.981, allocations: 11.98 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.9812, allocations: 149.7 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.47e-05/0.9812, allocations: 30.55 kB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.9813, allocations: 19.36 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.9813, allocations: 0 / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.9814, allocations: 34.56 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.9814, allocations: 3.938 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0002259/0.9816, allocations: 61.55 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.9816, allocations: 51.41 kB / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.335e-05/0.9817, allocations: 101.9 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.9817, allocations: 25.7 kB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.9818, allocations: 80.14 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.9818, allocations: 12.06 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.9819, allocations: 17.72 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.982, allocations: 310.8 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.842e-05/0.9821, allocations: 4 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.272e-05/0.9821, allocations: 11.98 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.252e-05/0.9822, allocations: 20.84 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.9822, allocations: 4.062 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001295/0.9823, allocations: 49.62 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.9823, allocations: 4 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.9824, allocations: 0 / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.9824, allocations: 3.938 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.509e-05/0.9825, allocations: 7.984 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.9825, allocations: 3.938 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.978e-05/0.9825, allocations: 4.25 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.9825, allocations: 0 / 1.17 GB, free: 0.5547 MB / 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 (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 7.57e-05/0.9826, allocations: 112.1 kB / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.9826, allocations: 8 kB / 1.17 GB, free: 440 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.9827, allocations: 11.06 kB / 1.17 GB, free: 424 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.9827, allocations: 0 / 1.17 GB, free: 424 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.9827, allocations: 3.984 kB / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.9827, allocations: 85 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.9828, allocations: 0 / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.127e-05/0.9828, allocations: 4 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.9828, allocations: 3.984 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001541/0.983, allocations: 132.9 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002159/0.9832, allocations: 215 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.818e-05/0.9833, allocations: 11.98 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.934e-05/0.9833, allocations: 87.34 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of Backend: time 4.01e-07/0.9834, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004205/0.9838, allocations: 82.39 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004875/0.9843, allocations: 0.5542 MB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of Templates: time 0.002888/0.9872, allocations: 363.1 kB / 1.172 GB, free: 14.79 MB / 0.9044 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=480 -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/jenkins1/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