Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008088/0.008088, allocations: 100 kB / 15.73 MB, free: 6.062 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.001815/0.001815, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.68/2.68, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.91 kB / 1.065 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.009, allocations: 159.1 MB / 1.221 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001908/1.011, allocations: 0.6112 MB / 1.221 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009657/1.012, allocations: 0.804 MB / 1.222 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/1.012, allocations: 0 / 1.222 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.04e-05/1.012, allocations: 3.938 kB / 1.222 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.343e-05/1.012, allocations: 4 kB / 1.222 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/1.012, allocations: 11.92 kB / 1.222 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.672e-05/1.013, allocations: 19.92 kB / 1.222 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.73e-05/1.013, allocations: 4 kB / 1.222 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.771e-05/1.013, allocations: 15.92 kB / 1.222 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.717e-05/1.013, allocations: 4 kB / 1.222 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/1.013, allocations: 4 kB / 1.222 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/1.013, allocations: 0 / 1.222 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/1.013, allocations: 0 / 1.222 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/1.013, allocations: 19.91 kB / 1.222 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.224e-05/1.013, allocations: 15.92 kB / 1.222 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.013, allocations: 0 / 1.222 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.253e-06/1.013, allocations: 0 / 1.222 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.372e-06/1.013, allocations: 0 / 1.222 GB, free: 0.5391 MB / 0.9356 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.0004295/1.013, allocations: 327 kB / 1.222 GB, free: 176 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/1.013, allocations: 8.031 kB / 1.222 GB, free: 168 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/1.013, allocations: 8.891 kB / 1.222 GB, free: 160 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/1.014, allocations: 173.2 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/1.014, allocations: 4.375 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-06/1.014, allocations: 384 / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/1.014, allocations: 38.25 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.014, allocations: 192 / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/1.014, allocations: 7.938 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.014, allocations: 0 / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.628e-05/1.014, allocations: 11.98 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/1.014, allocations: 153.7 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.153e-05/1.014, allocations: 30.52 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/1.014, allocations: 12.91 kB / 1.223 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/1.014, allocations: 4 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/1.014, allocations: 30.56 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 2.645e-06/1.014, allocations: 7.984 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0002069/1.014, allocations: 49.62 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/1.014, allocations: 55.41 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.897e-05/1.015, allocations: 101.8 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/1.015, allocations: 25.7 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/1.015, allocations: 88.27 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/1.015, allocations: 11.89 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/1.015, allocations: 9.719 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.015, allocations: 314.8 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.843e-05/1.015, allocations: 8 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.361e-05/1.015, allocations: 11.98 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.681e-05/1.015, allocations: 20.91 kB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.015, allocations: 0 / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.573e-05/1.015, allocations: 49.62 kB / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.015, allocations: 4 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.015, allocations: 3.938 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/1.015, allocations: 4 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.874e-05/1.015, allocations: 0 / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/1.015, allocations: 4.188 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.538e-05/1.015, allocations: 7.984 kB / 1.224 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/1.015, allocations: 8.031 kB / 1.224 GB, free: 14.75 MB / 0.9512 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.415e-05/1.015, allocations: 109.8 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-06/1.015, allocations: 4 kB / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/1.015, allocations: 7.062 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/1.015, allocations: 0 / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.015, allocations: 0 / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/1.015, allocations: 0 / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/1.015, allocations: 157.6 kB / 1.224 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/1.015, allocations: 0 / 1.224 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.574e-05/1.015, allocations: 15.92 kB / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/1.015, allocations: 0 / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/1.015, allocations: 3.938 kB / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/1.015, allocations: 0 / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/1.015, allocations: 0 / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/1.016, allocations: 73.08 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/1.016, allocations: 81.09 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/1.016, allocations: 11.91 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.061e-05/1.016, allocations: 4 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/1.016, allocations: 0 / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/1.016, allocations: 0 / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.725e-05/1.016, allocations: 87.27 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/1.016, allocations: 0 / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001759/1.016, allocations: 4 kB / 1.224 GB, free: 14.11 MB / 0.9512 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.0001432/1.016, allocations: 99.23 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001301/1.016, allocations: 19.98 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.016, allocations: 0 / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.571e-05/1.016, allocations: 8 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/1.016, allocations: 3.984 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/1.017, allocations: 118.5 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/1.017, allocations: 0.6769 MB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.427e-05/1.017, allocations: 4 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/1.017, allocations: 7.438 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of SimCode: time 3e-07/1.017, allocations: 0 / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of Templates: time 0.002405/1.019, allocations: 282.7 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches