Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005942/0.005942, allocations: 105.3 kB / 15.74 MB, free: 6.441 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.001349/0.001349, allocations: 192.6 kB / 16.67 MB, free: 6.355 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3/3, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 63.91 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3763, allocations: 157.4 MB / 1.208 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002052/0.3784, allocations: 0.6615 MB / 1.208 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.3795, allocations: 0.8079 MB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.3796, allocations: 0 / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.505e-05/0.3796, allocations: 0 / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.883e-05/0.3797, allocations: 7.938 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.3799, allocations: 4 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.364e-05/0.38, allocations: 19.92 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.3802, allocations: 23.95 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.721e-05/0.3803, allocations: 7.938 kB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.236e-05/0.3803, allocations: 11.98 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.3803, allocations: 0 / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.3804, allocations: 4 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.3804, allocations: 7.938 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.3804, allocations: 8 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.921e-05/0.3805, allocations: 19.91 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3805, allocations: 0 / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3806, allocations: 0 / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.3806, allocations: 3.984 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005691/0.3811, allocations: 343.4 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.3812, allocations: 16.61 kB / 1.21 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.3813, allocations: 0.9375 kB / 1.21 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.3814, allocations: 164.4 kB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.3814, allocations: 384 / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.3814, allocations: 4.375 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.3817, allocations: 50.23 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3817, allocations: 4.188 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3817, allocations: 7.875 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3817, allocations: 0 / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.3819, allocations: 35.95 kB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.3823, allocations: 248.8 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.3824, allocations: 46.44 kB / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.698e-05/0.3825, allocations: 20.91 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.3825, allocations: 3.984 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.3826, allocations: 34.56 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.3826, allocations: 0 / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000374/0.3829, allocations: 81.67 kB / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.383, allocations: 55.41 kB / 1.21 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.158e-05/0.3831, allocations: 97.86 kB / 1.21 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.3831, allocations: 25.7 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.3832, allocations: 84.14 kB / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.3832, allocations: 7.891 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.3832, allocations: 13.72 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3834, allocations: 314.8 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.868e-05/0.3835, allocations: 16.02 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-05/0.3835, allocations: 15.98 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.3837, allocations: 44.81 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3837, allocations: 0 / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001855/0.3839, allocations: 73.59 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3839, allocations: 8 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3839, allocations: 0 / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.3839, allocations: 0 / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.769e-05/0.384, allocations: 4 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3841, allocations: 0 / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.02e-05/0.3841, allocations: 11.98 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-06/0.3841, allocations: 4 kB / 1.211 GB, free: 5.949 MB / 0.9669 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 (2): * Single equations (assignments): 2 * 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.462e-05/0.3842, allocations: 113.8 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.3842, allocations: 0 / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.3845, allocations: 80.7 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3845, allocations: 0 / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3845, allocations: 0 / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.3845, allocations: 0 / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.3847, allocations: 157.6 kB / 1.211 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3847, allocations: 0 / 1.211 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.654e-05/0.3847, allocations: 16.02 kB / 1.211 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3847, allocations: 0 / 1.211 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3848, allocations: 192 / 1.211 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3848, allocations: 3.938 kB / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3848, allocations: 0 / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.385, allocations: 175.3 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.3851, allocations: 81.14 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.3851, allocations: 4 kB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.3852, allocations: 3.984 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.3852, allocations: 7.938 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.3852, allocations: 0 / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.177e-05/0.3853, allocations: 87.27 kB / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3853, allocations: 0 / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002091/0.3855, allocations: 7.938 kB / 1.212 GB, free: 5.129 MB / 0.9669 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 (2): * Single equations (assignments): 2 * 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.0001775/0.3857, allocations: 99.25 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.3859, allocations: 35.97 kB / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3859, allocations: 0 / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.131e-05/0.386, allocations: 19.97 kB / 1.212 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.3863, allocations: 7.938 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.3866, allocations: 126.1 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.3869, allocations: 0.6768 MB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.3869, allocations: 0 / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.387, allocations: 7.438 kB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.387, allocations: 0 / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of Templates: time 0.002583/0.3896, allocations: 446.1 kB / 1.213 GB, free: 3.664 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches