Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 249.5 MB / 257 MB, free: 6.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 172.7 kB / 316.3 MB, free: 3.293 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000879/0.0008788, allocations: 94.22 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.172e-05/3.173e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2226, allocations: 106.3 MB / 0.8853 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6987/0.9214, allocations: 131.1 MB / 1.013 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.9217, allocations: 74.75 kB / 1.013 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004622/0.9222, allocations: 364.6 kB / 1.014 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9222, allocations: 64 / 1.014 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.9222, allocations: 4 kB / 1.014 GB, free: 6.273 MB / 0.6355 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.0002697/0.9225, allocations: 304 kB / 1.014 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.9225, allocations: 11.69 kB / 1.014 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.9226, allocations: 4 kB / 1.014 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.9227, allocations: 174.9 kB / 1.014 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.9227, allocations: 0 / 1.014 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.9227, allocations: 0 / 1.014 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.978e-05/0.9228, allocations: 0 / 1.014 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.874e-05/0.9228, allocations: 29.7 kB / 1.014 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.9229, allocations: 0 / 1.014 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.9229, allocations: 0 / 1.014 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.9229, allocations: 7.312 kB / 1.014 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.9231, allocations: 362.2 kB / 1.015 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.934e-05/0.9232, allocations: 172.7 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.726e-05/0.9233, allocations: 80.14 kB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.9233, allocations: 79.28 kB / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/0.9234, allocations: 105.8 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.9234, allocations: 0 / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.05e-05/0.9234, allocations: 29.7 kB / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.9235, allocations: 55.08 kB / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.029e-05/0.9235, allocations: 85 kB / 1.015 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.9235, allocations: 29.64 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.9236, allocations: 88.08 kB / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.272e-06/0.9236, allocations: 0 / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-07/0.9236, allocations: 0 / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.9237, allocations: 325.3 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.316e-06/0.9237, allocations: 0 / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.054e-06/0.9237, allocations: 0 / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.567e-05/0.9238, allocations: 75.28 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.244e-05/0.9238, allocations: 79.22 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.861e-05/0.9239, allocations: 25.7 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.9239, allocations: 87.28 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.639e-05/0.9239, allocations: 75.28 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.886e-05/0.924, allocations: 154.5 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.534e-05/0.924, allocations: 75.28 kB / 1.016 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.599e-05/0.9241, allocations: 158.5 kB / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.622e-05/0.9242, allocations: 83.14 kB / 1.016 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.9242, allocations: 79.28 kB / 1.016 GB, free: 3.32 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.9243, allocations: 255.5 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-05/0.9244, allocations: 108.9 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.539e-05/0.9245, allocations: 104.7 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-05/0.9245, allocations: 176.6 kB / 1.017 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.008e-05/0.9246, allocations: 188.2 kB / 1.017 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.438e-05/0.9247, allocations: 184.3 kB / 1.017 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.9249, allocations: 381.5 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.349e-05/0.9249, allocations: 112.9 kB / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.906e-05/0.9249, allocations: 101 kB / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.618e-05/0.925, allocations: 180.3 kB / 1.018 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/0.9251, allocations: 184.2 kB / 1.018 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.723e-05/0.9251, allocations: 176.3 kB / 1.018 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.569e-05/0.9252, allocations: 176.3 kB / 1.019 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.9253, allocations: 308.6 kB / 1.019 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.9254, allocations: 190 kB / 1.019 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.9255, allocations: 184.2 kB / 1.019 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.533e-05/0.9255, allocations: 108.3 kB / 1.019 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.9256, allocations: 176.3 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.9256, allocations: 108.9 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.355e-05/0.9257, allocations: 79.28 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9257, allocations: 4.094 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002516/0.9259, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001149/0.926, allocations: 170.5 kB / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 3.184e-05/0.9261, allocations: 4 kB / 1.02 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9261, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.9261, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.9264, allocations: 0.5263 MB / 1.02 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001428/0.9266, allocations: 123.8 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.9268, allocations: 0.6729 MB / 1.021 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.466e-06/0.9268, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.616e-06/0.9268, allocations: 15.38 kB / 1.021 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of SimCode: time 3.81e-07/0.9268, allocations: 3.938 kB / 1.021 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of Templates: time 0.001353/0.9282, allocations: 141.3 kB / 1.021 GB, free: 14.02 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches