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.001778/0.001778, allocations: 102.9 kB / 16.27 MB, free: 5.973 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.002004/0.002004, allocations: 188.6 kB / 17.2 MB, free: 5.598 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.556/1.556, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.551/2.551, allocations: 437.1 MB / 0.7111 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 68.08 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3742, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002112/0.3764, allocations: 0.6054 MB / 1.019 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.3775, allocations: 0.8118 MB / 1.019 GB, free: 9.207 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.335e-05/0.3776, allocations: 0 / 1.019 GB, free: 9.207 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.487e-05/0.3776, allocations: 4 kB / 1.019 GB, free: 9.203 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.471e-05/0.3777, allocations: 11.91 kB / 1.019 GB, free: 9.191 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.3778, allocations: 0 / 1.019 GB, free: 9.191 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.931e-05/0.3779, allocations: 19.92 kB / 1.019 GB, free: 9.172 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.458e-05/0.378, allocations: 8 kB / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.745e-05/0.3781, allocations: 11.88 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.839e-05/0.3781, allocations: 3.984 kB / 1.019 GB, free: 9.148 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.3782, allocations: 8 kB / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.3782, allocations: 0 / 1.019 GB, free: 9.141 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.3782, allocations: 4 kB / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.3782, allocations: 15.92 kB / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.134e-05/0.3783, allocations: 19.91 kB / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3783, allocations: 0 / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3783, allocations: 0 / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3783, allocations: 0 / 1.019 GB, free: 9.102 MB / 0.795 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.000486/0.3788, allocations: 327.7 kB / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3789, allocations: 12.62 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.3789, allocations: 8.844 kB / 1.02 GB, free: 8.711 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.3791, allocations: 160.4 kB / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.3791, allocations: 384 / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.3791, allocations: 384 / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.3793, allocations: 38.25 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3793, allocations: 192 / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.3793, allocations: 7.938 kB / 1.02 GB, free: 8.465 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.3793, allocations: 0 / 1.02 GB, free: 8.465 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.292e-05/0.3794, allocations: 23.92 kB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.3796, allocations: 157.6 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.566e-05/0.3797, allocations: 22.56 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.3797, allocations: 8.922 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.3797, allocations: 0 / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.3798, allocations: 38.56 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.3798, allocations: 4 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0002312/0.38, allocations: 61.55 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.3801, allocations: 51.41 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/0.3801, allocations: 97.84 kB / 1.02 GB, free: 7.91 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.3802, allocations: 29.7 kB / 1.02 GB, free: 7.875 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.3802, allocations: 84.14 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.3803, allocations: 3.906 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.3803, allocations: 13.84 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3805, allocations: 318.8 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.3805, allocations: 7.984 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.181e-05/0.3805, allocations: 4 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.3806, allocations: 28.72 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3807, allocations: 0 / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001126/0.3808, allocations: 45.75 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3808, allocations: 8 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.3808, allocations: 3.938 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.3808, allocations: 0 / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.129e-05/0.3809, allocations: 3.984 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3809, allocations: 7.984 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.906e-05/0.381, allocations: 0 / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.381, allocations: 0 / 1.021 GB, free: 7.328 MB / 0.795 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 8.002e-05/0.3811, allocations: 113.8 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-06/0.3811, allocations: 4.031 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.138e-05/0.3811, allocations: 11.05 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.3811, allocations: 0 / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3811, allocations: 0 / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.3811, allocations: 0 / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.3813, allocations: 153.7 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3813, allocations: 0 / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.642e-05/0.3813, allocations: 4 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.3813, allocations: 0 / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3814, allocations: 3.938 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3814, allocations: 8.188 kB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.3814, allocations: 7.984 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.3815, allocations: 65.12 kB / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.3816, allocations: 85.02 kB / 1.021 GB, free: 6.785 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.3816, allocations: 3.938 kB / 1.021 GB, free: 6.781 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.167e-05/0.3816, allocations: 7.938 kB / 1.021 GB, free: 6.773 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.3817, allocations: 4.016 kB / 1.021 GB, free: 6.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-06/0.3817, allocations: 4 kB / 1.021 GB, free: 6.766 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.392e-05/0.3817, allocations: 83.28 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3817, allocations: 0 / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001746/0.3819, allocations: 4 kB / 1.022 GB, free: 6.68 MB / 0.795 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.0001307/0.3821, allocations: 95.25 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.3822, allocations: 23.92 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3822, allocations: 4.062 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.191e-05/0.3823, allocations: 7.984 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.3824, allocations: 10.44 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.3827, allocations: 132.4 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.3831, allocations: 0.6806 MB / 1.022 GB, free: 5.668 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.3831, allocations: 7.438 kB / 1.022 GB, free: 5.66 MB / 0.795 GB Notification: Performance of SimCode: time 1.9e-07/0.3831, allocations: 64 / 1.022 GB, free: 5.66 MB / 0.795 GB Notification: Performance of Templates: time 0.002013/0.3851, allocations: 469.3 kB / 1.023 GB, free: 5.199 MB / 0.795 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/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