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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.006227/0.006227, allocations: 100.4 kB / 15.73 MB, free: 6.035 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.001396/0.001396, allocations: 192.8 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.515/2.515, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 68.64 kB / 0.9509 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3422, allocations: 140.4 MB / 1.088 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.002535/0.3448, allocations: 0.6611 MB / 1.089 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.346, allocations: 0.816 MB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.3461, allocations: 0 / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.3461, allocations: 0 / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.838e-05/0.3462, allocations: 7.938 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.3464, allocations: 4 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.216e-05/0.3465, allocations: 23.91 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.3466, allocations: 15.98 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.979e-05/0.3467, allocations: 7.938 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.489e-05/0.3468, allocations: 12.05 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.3468, allocations: 0 / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.3468, allocations: 4 kB / 1.09 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.3469, allocations: 7.875 kB / 1.09 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.3469, allocations: 0 / 1.09 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.347, allocations: 31.83 kB / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.347, allocations: 4 kB / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.784e-06/0.347, allocations: 4 kB / 1.09 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.347, allocations: 0 / 1.09 GB, free: 15.94 MB / 0.8575 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.0005878/0.3476, allocations: 335.5 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.3477, allocations: 8.031 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.3478, allocations: 12.78 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.3479, allocations: 168.4 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.3479, allocations: 384 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.3479, allocations: 384 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.3482, allocations: 54.23 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3482, allocations: 192 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.3482, allocations: 11.88 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3482, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.3484, allocations: 27.97 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.3488, allocations: 248.9 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.3489, allocations: 42.5 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.376e-05/0.349, allocations: 24.91 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.3491, allocations: 0 / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.3491, allocations: 34.55 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.3491, allocations: 0 / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003678/0.3495, allocations: 81.59 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.3495, allocations: 55.39 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.079e-05/0.3496, allocations: 97.86 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.3497, allocations: 29.7 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.3497, allocations: 88.05 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.3497, allocations: 0 / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.3498, allocations: 17.7 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002368/0.35, allocations: 315 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.605e-05/0.3501, allocations: 15.98 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.755e-05/0.3502, allocations: 15.98 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.3503, allocations: 40.81 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3503, allocations: 0 / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001861/0.3505, allocations: 77.52 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3506, allocations: 7.984 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3506, allocations: 4 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.3506, allocations: 4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.3507, allocations: 4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3507, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.3508, allocations: 7.984 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3508, allocations: 32 / 1.091 GB, free: 13.92 MB / 0.8575 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.872e-05/0.3509, allocations: 117.8 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.3509, allocations: 3.938 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.3512, allocations: 72.72 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3512, allocations: 7.984 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3512, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3512, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.3514, allocations: 161.6 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3514, allocations: 3.938 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.3515, allocations: 7.984 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3515, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3515, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3515, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3515, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.3518, allocations: 167.5 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.3518, allocations: 85.14 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.3519, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.585e-05/0.3519, allocations: 11.97 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.352, allocations: 4 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.352, allocations: 3.938 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.013e-05/0.3521, allocations: 87.27 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3521, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002143/0.3523, allocations: 32 / 1.092 GB, free: 13.1 MB / 0.8575 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.0002021/0.3525, allocations: 103.8 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.3527, allocations: 31.97 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3528, allocations: 4 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.046e-05/0.3528, allocations: 19.97 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.3532, allocations: 12.06 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.3536, allocations: 109.5 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.354, allocations: 0.6729 MB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.281e-05/0.354, allocations: 3.984 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.354, allocations: 7.438 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3541, allocations: 4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of Templates: time 0.003283/0.3573, allocations: 431.6 kB / 1.093 GB, free: 11.65 MB / 0.8575 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/jenkins/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