Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006845/0.006845, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001546/0.001546, allocations: 196.5 kB / 16.67 MB, free: 5.977 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.352 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.382/2.382, allocations: 390.3 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.33 kB / 0.9504 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2747, allocations: 140.4 MB / 1.088 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.001752/0.2765, allocations: 0.5877 MB / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 3.769e-05/0.2765, allocations: 0 / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.2766, allocations: 0 / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.2766, allocations: 0 / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.269e-05/0.2766, allocations: 0 / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.095e-05/0.2767, allocations: 12 kB / 1.088 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.659e-05/0.2767, allocations: 0 / 1.088 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.12e-05/0.2768, allocations: 0 / 1.088 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.602e-05/0.2768, allocations: 3.984 kB / 1.088 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.528e-05/0.2768, allocations: 4 kB / 1.088 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.2769, allocations: 0 / 1.088 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.687e-06/0.2769, allocations: 0 / 1.088 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.2769, allocations: 0 / 1.088 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.031e-05/0.2769, allocations: 3.938 kB / 1.088 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.314e-05/0.277, allocations: 15.92 kB / 1.088 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.277, allocations: 0 / 1.088 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.393e-06/0.277, allocations: 4 kB / 1.088 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.277, allocations: 4 kB / 1.088 GB, free: 1.375 MB / 0.8419 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.0003295/0.2773, allocations: 303.6 kB / 1.088 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.2774, allocations: 12.06 kB / 1.088 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.143e-05/0.2774, allocations: 30.75 kB / 1.088 GB, free: 0.9766 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.927e-05/0.2774, allocations: 0.9375 kB / 1.088 GB, free: 0.9766 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.2776, allocations: 164.4 kB / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.2776, allocations: 384 / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.2776, allocations: 384 / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.574e-05/0.2777, allocations: 38.27 kB / 1.089 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2777, allocations: 3.938 kB / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.2777, allocations: 3.938 kB / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.2777, allocations: 0 / 1.089 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.678e-05/0.2777, allocations: 3.938 kB / 1.089 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.2781, allocations: 379.5 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.2782, allocations: 177.1 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.059e-05/0.2782, allocations: 80.14 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.54e-05/0.2783, allocations: 75.28 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.2783, allocations: 109.8 kB / 1.089 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.2783, allocations: 0 / 1.089 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.863e-05/0.2784, allocations: 26.08 kB / 1.089 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.2785, allocations: 138.7 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.012e-05/0.2786, allocations: 93.84 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.2786, allocations: 25.7 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.2786, allocations: 84.14 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-06/0.2786, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.2787, allocations: 13.66 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2788, allocations: 314.8 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-06/0.2788, allocations: 4.125 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.075e-06/0.2788, allocations: 0 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.485e-05/0.2788, allocations: 79.28 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.711e-05/0.2789, allocations: 87.22 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.772e-05/0.2789, allocations: 33.62 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.279, allocations: 79.28 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/0.279, allocations: 79.28 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.451e-05/0.2791, allocations: 154.5 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.126e-05/0.2791, allocations: 79.28 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.345e-05/0.2792, allocations: 150.6 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.846e-05/0.2792, allocations: 84.64 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.2793, allocations: 79.28 kB / 1.091 GB, free: 14.21 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 (0): * Single equations (assignments): 0 * 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 0.0001113/0.2794, allocations: 264.3 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.2795, allocations: 116.8 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.2796, allocations: 108.1 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.383e-05/0.2796, allocations: 180.2 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.831e-05/0.2797, allocations: 176.3 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000115/0.2798, allocations: 188.2 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.2801, allocations: 405.1 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-05/0.2802, allocations: 101 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.685e-05/0.2802, allocations: 108.9 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.2804, allocations: 188.3 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.675e-05/0.2804, allocations: 176.3 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.059e-05/0.2805, allocations: 180.5 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.353e-05/0.2806, allocations: 184.3 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.2807, allocations: 315.7 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.047e-05/0.2808, allocations: 182.1 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-05/0.2809, allocations: 180.2 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.682e-05/0.2809, allocations: 101 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.281, allocations: 192.2 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.951e-05/0.2811, allocations: 101 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.386e-05/0.2811, allocations: 79.28 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2811, allocations: 0 / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003111/0.2814, allocations: 4 kB / 1.094 GB, free: 10.53 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 (0): * Single equations (assignments): 0 * 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.0005111/0.2819, allocations: 0.8165 MB / 1.095 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 4.893e-05/0.282, allocations: 0 / 1.095 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.282, allocations: 0 / 1.095 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.282, allocations: 0 / 1.095 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.2824, allocations: 459.7 kB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.2838, allocations: 1.532 MB / 1.097 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.2842, allocations: 0.669 MB / 1.098 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.305e-06/0.2842, allocations: 0 / 1.098 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.2842, allocations: 11.42 kB / 1.098 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.2842, allocations: 0 / 1.098 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.302, allocations: 0.9294 MB / 1.099 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.389/7.691, allocations: 18.38 kB / 1.099 GB, free: 6.082 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches