Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_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.004848/0.004848, allocations: 104.8 kB / 15.74 MB, free: 6.062 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.001356/0.001356, allocations: 194.7 kB / 16.67 MB, free: 5.973 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.427/2.427, allocations: 437.1 MB / 0.7106 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 67.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.247, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001367/0.2484, allocations: 0.5438 MB / 1.167 GB, free: 6.727 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 3.312e-05/0.2485, allocations: 3.938 kB / 1.167 GB, free: 6.723 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.254e-05/0.2485, allocations: 0 / 1.167 GB, free: 6.723 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.2485, allocations: 0 / 1.167 GB, free: 6.723 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 1.942e-05/0.2485, allocations: 0 / 1.167 GB, free: 6.723 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 2.979e-05/0.2486, allocations: 7.984 kB / 1.167 GB, free: 6.715 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.095e-05/0.2486, allocations: 0 / 1.167 GB, free: 6.715 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.401e-05/0.2487, allocations: 0 / 1.167 GB, free: 6.715 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.093e-05/0.2487, allocations: 0 / 1.167 GB, free: 6.715 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.68e-05/0.2487, allocations: 4 kB / 1.167 GB, free: 6.711 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.2487, allocations: 8 kB / 1.167 GB, free: 6.703 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.286e-06/0.2487, allocations: 3.938 kB / 1.167 GB, free: 6.699 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.026e-06/0.2487, allocations: 0 / 1.167 GB, free: 6.699 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.544e-05/0.2488, allocations: 0 / 1.167 GB, free: 6.699 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 4.754e-05/0.2488, allocations: 3.984 kB / 1.167 GB, free: 6.695 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2488, allocations: 0 / 1.167 GB, free: 6.695 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2488, allocations: 0 / 1.167 GB, free: 6.695 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.2488, allocations: 0 / 1.167 GB, free: 6.695 MB / 0.92 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.0002745/0.2491, allocations: 319.7 kB / 1.167 GB, free: 6.332 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2491, allocations: 12.06 kB / 1.167 GB, free: 6.32 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.472e-05/0.2492, allocations: 38.75 kB / 1.167 GB, free: 6.273 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.525e-05/0.2492, allocations: 4.875 kB / 1.167 GB, free: 6.27 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.2493, allocations: 168.3 kB / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.2493, allocations: 384 / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-06/0.2494, allocations: 384 / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.724e-05/0.2494, allocations: 34.25 kB / 1.167 GB, free: 6.027 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2494, allocations: 3.938 kB / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-06/0.2494, allocations: 0 / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.2495, allocations: 0 / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.352e-05/0.2495, allocations: 4 kB / 1.167 GB, free: 6.02 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.2498, allocations: 387.4 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.304e-05/0.2499, allocations: 173.1 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.2499, allocations: 80.14 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.2499, allocations: 83.28 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.25, allocations: 105.8 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.25, allocations: 0 / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 6.073e-05/0.25, allocations: 30.02 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.2501, allocations: 126.7 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.169e-05/0.2502, allocations: 97.84 kB / 1.168 GB, free: 4.855 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.2502, allocations: 25.7 kB / 1.168 GB, free: 4.824 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.2502, allocations: 88.27 kB / 1.168 GB, free: 4.734 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-06/0.2503, allocations: 4 kB / 1.168 GB, free: 4.73 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-05/0.2503, allocations: 9.719 kB / 1.168 GB, free: 4.715 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2504, allocations: 314.8 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-06/0.2504, allocations: 0 / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.114e-06/0.2504, allocations: 0 / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.039e-05/0.2504, allocations: 75.28 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.792e-05/0.2505, allocations: 79.22 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.787e-05/0.2505, allocations: 37.64 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/0.2506, allocations: 81.31 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.988e-05/0.2506, allocations: 83.27 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.284e-05/0.2507, allocations: 150.6 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.948e-05/0.2507, allocations: 83.22 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.422e-05/0.2508, allocations: 150.6 kB / 1.169 GB, free: 3.664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.592e-05/0.2508, allocations: 87.22 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.2509, allocations: 75.28 kB / 1.17 GB, free: 3.504 MB / 0.92 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.0001137/0.251, allocations: 260.3 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/0.2511, allocations: 105 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.737e-05/0.2511, allocations: 116 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.417e-05/0.2512, allocations: 176.3 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-05/0.2513, allocations: 188.1 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.638e-05/0.2513, allocations: 180.3 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.2516, allocations: 409.2 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.15e-05/0.2516, allocations: 104.9 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.2516, allocations: 101 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-05/0.2517, allocations: 192.2 kB / 1.171 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.019e-05/0.2518, allocations: 184.2 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.771e-05/0.2519, allocations: 180.5 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.283e-05/0.2519, allocations: 176.3 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.2521, allocations: 319.7 kB / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.991e-05/0.2522, allocations: 182.1 kB / 1.172 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.07e-05/0.2522, allocations: 180.2 kB / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.2523, allocations: 105 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/0.2524, allocations: 176.3 kB / 1.173 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.356e-05/0.2525, allocations: 112.9 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.534e-05/0.2525, allocations: 79.28 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2525, allocations: 0 / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002213/0.2527, allocations: 0 / 1.173 GB, free: 15.83 MB / 0.9356 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.0004116/0.2531, allocations: 0.8126 MB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 2.872e-05/0.2532, allocations: 8.031 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.2532, allocations: 0 / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.2532, allocations: 0 / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.2535, allocations: 459.7 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009344/0.2545, allocations: 1.524 MB / 1.176 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.2547, allocations: 0.673 MB / 1.176 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.98e-06/0.2547, allocations: 0 / 1.176 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.636e-05/0.2548, allocations: 7.438 kB / 1.176 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.2548, allocations: 0 / 1.176 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.593/1.848, allocations: 0.9202 MB / 1.177 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.907/9.755, allocations: 21.98 kB / 1.177 GB, free: 11.39 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches