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.00115/0.00115, 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.001655/0.001655, allocations: 183.4 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.328 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.388/2.388, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003683, allocations: 8 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7284/0.7288, allocations: 142.4 MB / 0.9557 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.0007699/0.7296, allocations: 348.5 kB / 0.9561 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000757/0.7304, allocations: 0.8069 MB / 0.9569 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.718e-05/0.7304, allocations: 4.938 kB / 0.9569 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.7304, allocations: 0 / 0.9569 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.923e-05/0.7305, allocations: 1.156 kB / 0.9569 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.7306, allocations: 5.109 kB / 0.9569 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.506e-05/0.7307, allocations: 19.81 kB / 0.9569 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.916e-05/0.7307, allocations: 1.219 kB / 0.9569 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.385e-05/0.7308, allocations: 20.62 kB / 0.9569 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.7309, allocations: 7.531 kB / 0.9569 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.7309, allocations: 0 / 0.9569 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/0.7309, allocations: 1.062 kB / 0.9569 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.7309, allocations: 3.938 kB / 0.9569 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.731, allocations: 39.91 kB / 0.957 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.364e-05/0.731, allocations: 7.109 kB / 0.957 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.7311, allocations: 0 / 0.957 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7311, allocations: 1.188 kB / 0.957 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.7311, allocations: 0 / 0.957 GB, free: 6.777 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003097/0.7314, allocations: 334.1 kB / 0.9573 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.7314, allocations: 9.969 kB / 0.9573 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.7315, allocations: 2.062 kB / 0.9573 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.981e-05/0.7316, allocations: 165.5 kB / 0.9574 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.7316, allocations: 384 / 0.9574 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.7316, allocations: 1.406 kB / 0.9575 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.7317, allocations: 37.19 kB / 0.9575 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.7317, allocations: 1.344 kB / 0.9575 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.7317, allocations: 11.88 kB / 0.9575 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.7317, allocations: 3.984 kB / 0.9575 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.096e-05/0.7318, allocations: 16.31 kB / 0.9575 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.7319, allocations: 156.6 kB / 0.9577 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.088e-05/0.732, allocations: 25.56 kB / 0.9577 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.7321, allocations: 15.52 kB / 0.9577 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.7321, allocations: 0 / 0.9577 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.7321, allocations: 39.58 kB / 0.9577 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.7321, allocations: 1.125 kB / 0.9577 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002002/0.7323, allocations: 62.31 kB / 0.9578 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.7324, allocations: 55.41 kB / 0.9579 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.227e-05/0.7324, allocations: 100.4 kB / 0.958 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.7324, allocations: 27.08 kB / 0.958 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.986e-05/0.7325, allocations: 84.14 kB / 0.9581 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.7325, allocations: 5.062 kB / 0.9581 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.815e-05/0.7325, allocations: 9.719 kB / 0.9581 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.308e-05/0.7326, allocations: 312 kB / 0.9584 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.062e-05/0.7326, allocations: 18.77 kB / 0.9584 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.029e-05/0.7326, allocations: 5.5 kB / 0.9584 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.325e-05/0.7327, allocations: 30.22 kB / 0.9584 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7327, allocations: 0 / 0.9584 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001021/0.7328, allocations: 50.16 kB / 0.9585 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.7329, allocations: 9.359 kB / 0.9585 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.7329, allocations: 3.938 kB / 0.9585 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.7329, allocations: 1.281 kB / 0.9585 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.487e-05/0.7329, allocations: 8.125 kB / 0.9585 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.733, allocations: 0 / 0.9585 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.184e-05/0.733, allocations: 6.719 kB / 0.9585 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.733, allocations: 3.938 kB / 0.9585 GB, free: 5.117 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 (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 4.741e-05/0.7331, allocations: 120.3 kB / 0.9586 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.617e-06/0.7331, allocations: 5.344 kB / 0.9586 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.665e-05/0.7331, allocations: 7.062 kB / 0.9586 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.7331, allocations: 1.375 kB / 0.9586 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.7331, allocations: 0 / 0.9586 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.7331, allocations: 0 / 0.9586 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.723e-05/0.7332, allocations: 152.9 kB / 0.9588 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.7332, allocations: 0 / 0.9588 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.698e-05/0.7333, allocations: 3.906 kB / 0.9588 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.7333, allocations: 13.42 kB / 0.9588 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.7333, allocations: 3.938 kB / 0.9588 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7333, allocations: 0 / 0.9588 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.7333, allocations: 1.562 kB / 0.9588 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.7334, allocations: 69.81 kB / 0.9589 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.7334, allocations: 77.11 kB / 0.9589 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.7334, allocations: 9.156 kB / 0.9589 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.887e-05/0.7335, allocations: 6.422 kB / 0.959 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.7335, allocations: 1.188 kB / 0.959 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.7335, allocations: 0 / 0.959 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.425e-05/0.7335, allocations: 84.09 kB / 0.959 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.61e-07/0.7335, allocations: 0 / 0.959 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001739/0.7337, allocations: 6.312 kB / 0.959 GB, free: 4.512 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 (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.0001093/0.7338, allocations: 106.7 kB / 0.9591 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.734, allocations: 22.8 kB / 0.9592 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.734, allocations: 0 / 0.9592 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.018e-05/0.734, allocations: 11.06 kB / 0.9592 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.7342, allocations: 3.203 kB / 0.9592 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002402/0.7344, allocations: 149.9 kB / 0.9593 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.8e-05/0.7345, allocations: 0.6757 MB / 0.96 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.7345, allocations: 8.781 kB / 0.96 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/0.7345, allocations: 0 / 0.96 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of Templates: time 0.001566/0.7361, allocations: 449.9 kB / 0.9604 GB, free: 3.32 MB / 0.7169 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 -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