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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001492/0.001492, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001577/0.001578, allocations: 187 kB / 17.34 MB, free: 5.762 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.64/2.64, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.0014, allocations: 67.89 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9069/0.9083, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.00177/0.9101, allocations: 0.6131 MB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008592/0.911, allocations: 0.8039 MB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.911, allocations: 4 kB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.569e-05/0.9111, allocations: 3.938 kB / 1.21 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.953e-05/0.9111, allocations: 0 / 1.21 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.9113, allocations: 15.92 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.261e-05/0.9114, allocations: 15.92 kB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.348e-05/0.9114, allocations: 7.984 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.759e-05/0.9115, allocations: 8 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.131e-05/0.9116, allocations: 11.92 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.9116, allocations: 0 / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.745e-06/0.9116, allocations: 4 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.9117, allocations: 8 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.9117, allocations: 3.938 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.351e-05/0.9118, allocations: 15.97 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.9118, allocations: 3.984 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9118, allocations: 0 / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.9118, allocations: 0 / 1.21 GB, free: 12.1 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.000375/0.9122, allocations: 331.3 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.9122, allocations: 11.97 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.9123, allocations: 4.938 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.9124, allocations: 172.3 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.9124, allocations: 384 / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.9124, allocations: 384 / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.9125, allocations: 34.25 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.9125, allocations: 192 / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.9126, allocations: 3.938 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.9126, allocations: 0 / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.007e-05/0.9126, allocations: 15.98 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.9128, allocations: 153.7 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.792e-05/0.9129, allocations: 34.53 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.562e-05/0.9129, allocations: 12.92 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.9129, allocations: 0 / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.913, allocations: 30.56 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.913, allocations: 0 / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0002351/0.9132, allocations: 65.52 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.9133, allocations: 51.41 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.888e-05/0.9133, allocations: 101.9 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.9134, allocations: 29.69 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.9134, allocations: 88.08 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.9134, allocations: 3.938 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/0.9135, allocations: 13.72 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.9136, allocations: 315 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.074e-05/0.9137, allocations: 11.98 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.937e-05/0.9137, allocations: 4 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.905e-05/0.9138, allocations: 20.84 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.9138, allocations: 4.25 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000103/0.9139, allocations: 41.78 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.9139, allocations: 8 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.9139, allocations: 7.938 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.9139, allocations: 0 / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.279e-05/0.914, allocations: 7.984 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.914, allocations: 3.938 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.247e-05/0.9141, allocations: 0 / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.9141, allocations: 7.938 kB / 1.211 GB, free: 10.32 MB / 0.9356 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 6.571e-05/0.9141, allocations: 109.8 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.9142, allocations: 7.906 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.9142, allocations: 15.05 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.9142, allocations: 0 / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.9142, allocations: 0 / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.9142, allocations: 0 / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.827e-05/0.9143, allocations: 153.7 kB / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9143, allocations: 0 / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.9144, allocations: 4 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.9144, allocations: 0 / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.9144, allocations: 3.938 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.9144, allocations: 0 / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9144, allocations: 4 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.9145, allocations: 73.09 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-05/0.9146, allocations: 81.11 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.9146, allocations: 7.875 kB / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.855e-05/0.9146, allocations: 0 / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.9147, allocations: 3.984 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-06/0.9147, allocations: 8.031 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.407e-05/0.9147, allocations: 83.28 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9147, allocations: 0 / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001911/0.9149, allocations: 0 / 1.212 GB, free: 9.676 MB / 0.9356 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.000119/0.915, allocations: 99.25 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.9152, allocations: 11.98 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.9152, allocations: 0 / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.447e-05/0.9152, allocations: 20.05 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.9154, allocations: 3.938 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.9157, allocations: 142.1 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.916, allocations: 0.669 MB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.916, allocations: 15.42 kB / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.916, allocations: 0 / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of Templates: time 0.001935/0.9179, allocations: 470.2 kB / 1.213 GB, free: 8.191 MB / 0.9356 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/jenkins1/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