Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.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.Sources.Validation.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 107 kB / 16.36 MB, free: 6.336 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.001658/0.001657, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.453/1.453, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.307/2.307, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 62.2 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3331, allocations: 140.4 MB / 0.9511 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.002044/0.3352, allocations: 0.6124 MB / 0.9517 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000978/0.3362, allocations: 0.8117 MB / 0.9525 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.234e-05/0.3362, allocations: 0 / 0.9525 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.3363, allocations: 0 / 0.9525 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.854e-05/0.3363, allocations: 7.938 kB / 0.9525 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.3365, allocations: 15.98 kB / 0.9526 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.366e-05/0.3366, allocations: 19.92 kB / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.996e-05/0.3367, allocations: 0 / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.291e-05/0.3368, allocations: 7.984 kB / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.599e-05/0.3368, allocations: 15.92 kB / 0.9526 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.3368, allocations: 0 / 0.9526 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.387e-06/0.3369, allocations: 4 kB / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.3369, allocations: 0 / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.3369, allocations: 3.938 kB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.352e-05/0.337, allocations: 19.91 kB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.337, allocations: 8 kB / 0.9526 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.262e-06/0.337, allocations: 0 / 0.9526 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.337, allocations: 0 / 0.9526 GB, free: 6.484 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004577/0.3375, allocations: 331.4 kB / 0.9529 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3376, allocations: 8.031 kB / 0.953 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.3376, allocations: 4.938 kB / 0.953 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.3378, allocations: 168.2 kB / 0.9531 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3378, allocations: 384 / 0.9531 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.3378, allocations: 384 / 0.9531 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.338, allocations: 42.25 kB / 0.9532 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.338, allocations: 192 / 0.9532 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.338, allocations: 7.938 kB / 0.9532 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.338, allocations: 0 / 0.9532 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.893e-05/0.3381, allocations: 19.92 kB / 0.9532 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.3383, allocations: 159.8 kB / 0.9533 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.983e-05/0.3384, allocations: 22.56 kB / 0.9534 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.3385, allocations: 16.92 kB / 0.9534 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.3385, allocations: 3.984 kB / 0.9534 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.3385, allocations: 30.56 kB / 0.9534 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.3385, allocations: 4 kB / 0.9534 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.000213/0.3387, allocations: 57.55 kB / 0.9535 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.3388, allocations: 55.53 kB / 0.9535 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.014e-05/0.3389, allocations: 105.8 kB / 0.9536 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.3389, allocations: 25.7 kB / 0.9537 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.339, allocations: 80.14 kB / 0.9537 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.339, allocations: 7.906 kB / 0.9537 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.339, allocations: 13.72 kB / 0.9537 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3391, allocations: 310.8 kB / 0.954 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.842e-05/0.3392, allocations: 7.984 kB / 0.9541 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-05/0.3392, allocations: 12 kB / 0.9541 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.584e-05/0.3393, allocations: 20.84 kB / 0.9541 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3393, allocations: 0 / 0.9541 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001001/0.3394, allocations: 49.62 kB / 0.9541 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3394, allocations: 4 kB / 0.9541 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.3394, allocations: 3.938 kB / 0.9541 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3395, allocations: 4 kB / 0.9541 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.114e-05/0.3395, allocations: 8.078 kB / 0.9541 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3396, allocations: 0 / 0.9541 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.3396, allocations: 4 kB / 0.9542 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.3396, allocations: 0 / 0.9542 GB, free: 4.703 MB / 0.7325 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 (1): * Single equations (assignments): 1 * 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 7.552e-05/0.3397, allocations: 108.9 kB / 0.9543 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.3397, allocations: 7.938 kB / 0.9543 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.293e-05/0.3397, allocations: 15.03 kB / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.3397, allocations: 0 / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3397, allocations: 0 / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3398, allocations: 4 kB / 0.9543 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.3399, allocations: 153.7 kB / 0.9544 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3399, allocations: 0 / 0.9544 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/0.3399, allocations: 4 kB / 0.9544 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3399, allocations: 0 / 0.9544 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.34, allocations: 3.938 kB / 0.9544 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.34, allocations: 3.984 kB / 0.9544 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.34, allocations: 256 / 0.9544 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.3401, allocations: 77.06 kB / 0.9545 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.3401, allocations: 81.02 kB / 0.9546 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.3402, allocations: 11.88 kB / 0.9546 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.823e-05/0.3402, allocations: 4 kB / 0.9546 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.3402, allocations: 7.984 kB / 0.9546 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.3403, allocations: 0 / 0.9546 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.88e-05/0.3403, allocations: 79.28 kB / 0.9547 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.3403, allocations: 0 / 0.9547 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001787/0.3405, allocations: 4 kB / 0.9547 GB, free: 4.055 MB / 0.7325 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 (1): * Single equations (assignments): 1 * 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.0001572/0.3407, allocations: 99.28 kB / 0.9548 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000133/0.3408, allocations: 19.98 kB / 0.9548 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3408, allocations: 0 / 0.9548 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.08e-05/0.3408, allocations: 11.92 kB / 0.9548 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.341, allocations: 4 kB / 0.9548 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.3413, allocations: 102.9 kB / 0.9549 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.3416, allocations: 0.6805 MB / 0.9556 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.578e-05/0.3416, allocations: 0 / 0.9556 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.3417, allocations: 7.438 kB / 0.9556 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.3417, allocations: 0 / 0.9556 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of Templates: time 0.00217/0.3438, allocations: 285.2 kB / 0.9559 GB, free: 2.801 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches