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.001529/0.001529, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001661/0.001662, allocations: 187 kB / 17.34 MB, free: 5.719 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.503/1.503, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.342/2.342, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 67.89 kB / 0.9516 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9201/0.9217, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.001829/0.9236, allocations: 0.6606 MB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008118/0.9244, allocations: 0.8058 MB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.9244, allocations: 1.156 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.9245, allocations: 3.938 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.572e-05/0.9246, allocations: 1.578 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.9247, allocations: 18.06 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.127e-05/0.9248, allocations: 24.19 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.9249, allocations: 5.031 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.66e-05/0.925, allocations: 13.19 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.176e-05/0.925, allocations: 13.86 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.9251, allocations: 6.5 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-06/0.9251, allocations: 1.406 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.9251, allocations: 2.406 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.9251, allocations: 10.3 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 7.798e-05/0.9252, allocations: 24.98 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.9252, allocations: 0 / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9252, allocations: 1.594 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.9252, allocations: 0 / 1.09 GB, free: 4.418 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.0003716/0.9256, allocations: 332.1 kB / 1.091 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.9256, allocations: 13.09 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.9257, allocations: 7.594 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.466e-05/0.9258, allocations: 166.3 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.9258, allocations: 1.5 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.9258, allocations: 1.953 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.926, allocations: 52.42 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.926, allocations: 1.125 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.926, allocations: 7.875 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.926, allocations: 1.703 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.9262, allocations: 35.59 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.9264, allocations: 246.5 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.9266, allocations: 40.33 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.5e-05/0.9267, allocations: 31.73 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.9267, allocations: 1.062 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.9267, allocations: 36.25 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.9267, allocations: 0 / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003387/0.9271, allocations: 79.84 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.9271, allocations: 53.17 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.79e-05/0.9272, allocations: 104.7 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.9272, allocations: 26.41 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.575e-05/0.9272, allocations: 85.53 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.9272, allocations: 1.359 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.9272, allocations: 13.58 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.5e-05/0.9273, allocations: 316.8 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.128e-05/0.9274, allocations: 13.28 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.593e-05/0.9275, allocations: 26.86 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.9276, allocations: 36.88 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.9276, allocations: 0 / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001783/0.9278, allocations: 71.41 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.9278, allocations: 6.25 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.9278, allocations: 7.938 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.9279, allocations: 0 / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.413e-05/0.928, allocations: 9.375 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.928, allocations: 1.656 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.928, allocations: 5.812 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.928, allocations: 0 / 1.092 GB, free: 2.707 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 4.954e-05/0.9281, allocations: 116 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.9281, allocations: 6.547 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.9283, allocations: 71.19 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.9283, allocations: 0 / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.9283, allocations: 5.953 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.9284, allocations: 0 / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.9285, allocations: 159.1 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9285, allocations: 0 / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.673e-05/0.9285, allocations: 13.12 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.9285, allocations: 1.75 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.9286, allocations: 4.031 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.9286, allocations: 2.062 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.9286, allocations: 0 / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.9288, allocations: 161.7 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.9288, allocations: 82.91 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.9288, allocations: 1.609 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.9289, allocations: 9.328 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.9289, allocations: 6.875 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.929, allocations: 4.781 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.333e-05/0.929, allocations: 84.08 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.929, allocations: 0 / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002073/0.9292, allocations: 4.312 kB / 1.093 GB, free: 2.004 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.0001336/0.9293, allocations: 101.1 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.9296, allocations: 39.66 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.9296, allocations: 4 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.305e-05/0.9296, allocations: 20.34 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.9299, allocations: 10.06 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002585/0.9302, allocations: 134.8 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.9303, allocations: 0.6792 MB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.9303, allocations: 10.67 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of SimCode: time 2.7e-07/0.9303, allocations: 3.938 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of Templates: time 0.001998/0.9323, allocations: 0.5354 MB / 1.094 GB, free: 1.027 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/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