Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00692/0.00692, allocations: 100.4 kB / 15.87 MB, free: 6.324 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.001761/0.001761, allocations: 193.6 kB / 16.79 MB, free: 6.254 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.508/1.508, allocations: 222.9 MB / 240.5 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.429/2.429, allocations: 390.2 MB / 0.6649 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 67.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7485/0.75, allocations: 140.3 MB / 0.9496 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.002156/0.7522, allocations: 0.73 MB / 0.9503 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000942/0.7532, allocations: 0.8075 MB / 0.9511 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.7533, allocations: 0 / 0.9511 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.7533, allocations: 1.375 kB / 0.9511 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.7534, allocations: 3.938 kB / 0.9511 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.7536, allocations: 5.375 kB / 0.9511 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.504e-05/0.7536, allocations: 17.61 kB / 0.9511 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.7537, allocations: 10.75 kB / 0.9511 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.726e-05/0.7538, allocations: 15.98 kB / 0.9512 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.22e-05/0.7539, allocations: 10.73 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.7539, allocations: 1.375 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.7539, allocations: 1.375 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.7539, allocations: 7.922 kB / 0.9512 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.754, allocations: 6.75 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.898e-05/0.754, allocations: 10.72 kB / 0.9512 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.754, allocations: 0 / 0.9512 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.42e-07/0.7541, allocations: 1.375 kB / 0.9512 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.7541, allocations: 4 kB / 0.9512 GB, free: 7.883 MB / 0.7169 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.0004067/0.7545, allocations: 337.8 kB / 0.9515 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.7545, allocations: 13.25 kB / 0.9515 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.7546, allocations: 3.125 kB / 0.9515 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.802e-05/0.7547, allocations: 173.4 kB / 0.9517 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.7547, allocations: 1.438 kB / 0.9517 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.7547, allocations: 5.5 kB / 0.9517 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.7549, allocations: 45.44 kB / 0.9517 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.7549, allocations: 192 / 0.9517 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.7549, allocations: 13.14 kB / 0.9518 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.7549, allocations: 0 / 0.9518 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.7551, allocations: 34.66 kB / 0.9518 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.7555, allocations: 240.9 kB / 0.952 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.7556, allocations: 47.16 kB / 0.9521 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.259e-05/0.7557, allocations: 18.16 kB / 0.9521 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.7557, allocations: 1.406 kB / 0.9521 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.7558, allocations: 30.56 kB / 0.9521 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.7558, allocations: 5.562 kB / 0.9521 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003489/0.7561, allocations: 83.42 kB / 0.9522 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.7562, allocations: 52.75 kB / 0.9522 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.486e-05/0.7562, allocations: 106.7 kB / 0.9524 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.7563, allocations: 25.7 kB / 0.9524 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.7563, allocations: 81.3 kB / 0.9525 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.7563, allocations: 9.156 kB / 0.9525 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.7564, allocations: 15.81 kB / 0.9525 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.526e-05/0.7564, allocations: 320 kB / 0.9528 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.241e-05/0.7565, allocations: 16.89 kB / 0.9528 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.159e-05/0.7566, allocations: 14.2 kB / 0.9528 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.7567, allocations: 38.83 kB / 0.9528 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7567, allocations: 64 / 0.9528 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001978/0.757, allocations: 72.69 kB / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.757, allocations: 7.031 kB / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.757, allocations: 0 / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.757, allocations: 1.594 kB / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.325e-05/0.7571, allocations: 9.828 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.7571, allocations: 0 / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.224e-05/0.7572, allocations: 11.67 kB / 0.9529 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.7572, allocations: 5.469 kB / 0.953 GB, free: 6.062 MB / 0.7169 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 6.104e-05/0.7573, allocations: 115.2 kB / 0.9531 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.7573, allocations: 5.344 kB / 0.9531 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.7575, allocations: 73.47 kB / 0.9531 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.7575, allocations: 1.062 kB / 0.9531 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7575, allocations: 4 kB / 0.9531 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.7576, allocations: 1.031 kB / 0.9531 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.7577, allocations: 165.8 kB / 0.9533 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7577, allocations: 0 / 0.9533 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.054e-05/0.7578, allocations: 9.938 kB / 0.9533 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.7578, allocations: 5.734 kB / 0.9533 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.7578, allocations: 0 / 0.9533 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.7578, allocations: 0 / 0.9533 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.7578, allocations: 0 / 0.9533 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.7581, allocations: 171.1 kB / 0.9535 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.7581, allocations: 78.95 kB / 0.9536 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.7581, allocations: 0 / 0.9536 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/0.7582, allocations: 7.172 kB / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.7582, allocations: 2.188 kB / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.7582, allocations: 0 / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.302e-05/0.7583, allocations: 79 kB / 0.9536 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7583, allocations: 0 / 0.9536 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002207/0.7585, allocations: 7.938 kB / 0.9536 GB, free: 5.324 MB / 0.7169 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.0001476/0.7587, allocations: 105.9 kB / 0.9537 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.7589, allocations: 32.69 kB / 0.9538 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7589, allocations: 0 / 0.9538 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.32e-05/0.759, allocations: 19.83 kB / 0.9538 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.7594, allocations: 18.05 kB / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003114/0.7597, allocations: 128.6 kB / 0.9539 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.7598, allocations: 0.6779 MB / 0.9546 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.7599, allocations: 8.938 kB / 0.9546 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of SimCode: time 4.71e-07/0.7599, allocations: 0 / 0.9546 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of Templates: time 0.002236/0.7621, allocations: 0.5348 MB / 0.9551 GB, free: 4.078 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches