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.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.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.001016/0.001015, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 182.8 kB / 16.92 MB, free: 6.922 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.384/1.384, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.835/2.835, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003989/0.0003989, allocations: 10.59 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3385, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.0009565/0.3395, allocations: 400.5 kB / 1.06 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3407, allocations: 0.8118 MB / 1.061 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.417e-05/0.3408, allocations: 0 / 1.061 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.3408, allocations: 0 / 1.061 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.507e-05/0.3409, allocations: 7.938 kB / 1.061 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.341, allocations: 4 kB / 1.061 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.473e-05/0.3411, allocations: 23.92 kB / 1.061 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3412, allocations: 11.98 kB / 1.061 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.822e-05/0.3413, allocations: 11.92 kB / 1.061 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/0.3414, allocations: 8 kB / 1.061 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.3414, allocations: 0 / 1.061 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-06/0.3414, allocations: 0 / 1.061 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.3414, allocations: 3.938 kB / 1.061 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.3415, allocations: 37.69 kB / 1.061 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.061e-05/0.3415, allocations: 15.97 kB / 1.061 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3416, allocations: 3.938 kB / 1.061 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3416, allocations: 0 / 1.061 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3416, allocations: 4 kB / 1.061 GB, free: 3.586 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004576/0.342, allocations: 339.7 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.3421, allocations: 11.97 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.3421, allocations: 4.938 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.3423, allocations: 164.3 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.3423, allocations: 384 / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.3423, allocations: 8.359 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.3425, allocations: 62.17 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3425, allocations: 192 / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3426, allocations: 3.938 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3426, allocations: 0 / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.3428, allocations: 47.95 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.3431, allocations: 241 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.3433, allocations: 50.48 kB / 1.062 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.824e-05/0.3434, allocations: 28.91 kB / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.3434, allocations: 7.922 kB / 1.062 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.3435, allocations: 34.5 kB / 1.062 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.3435, allocations: 0 / 1.062 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003905/0.3439, allocations: 97.64 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.3439, allocations: 51.41 kB / 1.062 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.317e-05/0.344, allocations: 97.86 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.344, allocations: 33.81 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.3441, allocations: 88.14 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.3441, allocations: 3.906 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.3441, allocations: 9.719 kB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3443, allocations: 310.8 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.419e-05/0.3444, allocations: 27.92 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.104e-05/0.3444, allocations: 23.97 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.3446, allocations: 44.83 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3446, allocations: 4.062 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000225/0.3449, allocations: 85.59 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3449, allocations: 4 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3449, allocations: 0 / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3449, allocations: 0 / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.345, allocations: 19.95 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.345, allocations: 0 / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.295e-05/0.3451, allocations: 8 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.3451, allocations: 4 kB / 1.062 GB, free: 1.48 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 (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 9.44e-05/0.3452, allocations: 121.7 kB / 1.063 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.3453, allocations: 3.906 kB / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.3455, allocations: 84.78 kB / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3455, allocations: 0 / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3455, allocations: 0 / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3455, allocations: 0 / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.3457, allocations: 157.6 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3457, allocations: 0 / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/0.3458, allocations: 16.02 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3458, allocations: 0 / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.3458, allocations: 4 kB / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3458, allocations: 0 / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3458, allocations: 0 / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.3461, allocations: 179.4 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.3462, allocations: 77.11 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.3462, allocations: 7.984 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.3463, allocations: 4 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.3463, allocations: 192 / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.3463, allocations: 7.984 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.099e-05/0.3464, allocations: 87.3 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3464, allocations: 7.938 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002144/0.3466, allocations: 3.938 kB / 1.063 GB, free: 0.6367 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 (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.0001617/0.3468, allocations: 101.5 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.347, allocations: 55.89 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.347, allocations: 0 / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.241e-05/0.3471, allocations: 19.98 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.3474, allocations: 8.969 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.3478, allocations: 152.6 kB / 1.064 GB, free: 272 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.348, allocations: 0.6731 MB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.3481, allocations: 7.438 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3481, allocations: 0 / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of Templates: time 0.002071/0.3502, allocations: 0.5362 MB / 1.065 GB, free: 15.02 MB / 0.8262 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/jenkins1/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