Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0011/0.0011, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.001697/0.001697, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.931/2.931, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005781/0.0005782, allocations: 12.41 kB / 0.9022 GB, free: 36.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3685, allocations: 159.6 MB / 1.058 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.0009188/0.3695, allocations: 335.4 kB / 1.058 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3706, allocations: 0.7962 MB / 1.059 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.013e-05/0.3706, allocations: 0 / 1.059 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.3707, allocations: 0 / 1.059 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.568e-05/0.3707, allocations: 0 / 1.059 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.3709, allocations: 8 kB / 1.059 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.326e-05/0.371, allocations: 23.84 kB / 1.059 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.533e-05/0.371, allocations: 8 kB / 1.059 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.945e-05/0.3711, allocations: 4 kB / 1.059 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.69e-05/0.3712, allocations: 11.92 kB / 1.059 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.3712, allocations: 4 kB / 1.059 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-06/0.3712, allocations: 0 / 1.059 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.3712, allocations: 0 / 1.059 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.3713, allocations: 25.7 kB / 1.059 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.324e-05/0.3714, allocations: 19.91 kB / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3714, allocations: 0 / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3714, allocations: 0 / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.3714, allocations: 3.938 kB / 1.059 GB, free: 4.062 MB / 0.8106 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.0004248/0.3718, allocations: 339.5 kB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.3719, allocations: 8.031 kB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.3719, allocations: 0 / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.372, allocations: 171 kB / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3721, allocations: 0 / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.3721, allocations: 3.953 kB / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.3722, allocations: 49.62 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.3723, allocations: 0 / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3723, allocations: 0 / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3723, allocations: 0 / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.037e-05/0.3724, allocations: 15.98 kB / 1.06 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.3725, allocations: 153.7 kB / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.034e-05/0.3726, allocations: 22.58 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.457e-05/0.3727, allocations: 20.91 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.3727, allocations: 3.953 kB / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.3727, allocations: 34.5 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.3727, allocations: 0 / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002121/0.3729, allocations: 65.67 kB / 1.06 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.373, allocations: 51.41 kB / 1.06 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.877e-05/0.3731, allocations: 97.86 kB / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.3731, allocations: 25.7 kB / 1.06 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.3731, allocations: 88.12 kB / 1.06 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.3732, allocations: 0 / 1.06 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.3732, allocations: 0 / 1.06 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3733, allocations: 315 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.646e-05/0.3733, allocations: 12 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.159e-05/0.3734, allocations: 7.984 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.594e-05/0.3734, allocations: 11.94 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3734, allocations: 0 / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000117/0.3736, allocations: 57.66 kB / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.3736, allocations: 13.81 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3736, allocations: 3.938 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3736, allocations: 4 kB / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.759e-05/0.3737, allocations: 4 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3737, allocations: 0 / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.818e-05/0.3737, allocations: 0 / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.3738, allocations: 0 / 1.061 GB, free: 2.301 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.192e-05/0.3738, allocations: 121.9 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.3739, allocations: 0 / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.789e-05/0.3739, allocations: 7.078 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3739, allocations: 4 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3739, allocations: 3.938 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3739, allocations: 0 / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.374, allocations: 153.7 kB / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.374, allocations: 0 / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.3741, allocations: 4.25 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3741, allocations: 7.922 kB / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3741, allocations: 8 kB / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3741, allocations: 3.953 kB / 1.061 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3741, allocations: 0 / 1.061 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.3743, allocations: 69.12 kB / 1.061 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.3743, allocations: 81.11 kB / 1.061 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.3743, allocations: 4.031 kB / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.794e-05/0.3744, allocations: 3.984 kB / 1.061 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.3744, allocations: 11.94 kB / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.3744, allocations: 0 / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.3745, allocations: 83.28 kB / 1.061 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3745, allocations: 0 / 1.061 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001806/0.3747, allocations: 0 / 1.061 GB, free: 1.652 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001648/0.3748, allocations: 103.2 kB / 1.061 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.3749, allocations: 23.92 kB / 1.061 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.375, allocations: 0 / 1.061 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.041e-05/0.375, allocations: 12 kB / 1.061 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.3752, allocations: 0 / 1.061 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.3755, allocations: 124.6 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.3757, allocations: 0.677 MB / 1.062 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.455e-05/0.3757, allocations: 0 / 1.062 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.333e-05/0.3758, allocations: 7.438 kB / 1.062 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.3758, allocations: 0 / 1.062 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of Templates: time 0.002259/0.378, allocations: 244.1 kB / 1.062 GB, free: 412 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches