Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 93.92 kB / 19.73 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 215.7 kB / 23.03 MB, free: 4.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.63/1.63, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.442/3.442, allocations: 0.49 GB / 0.7959 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 63.06 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4238, allocations: 176.1 MB / 1.327 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002442/0.4263, allocations: 0.547 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 5.468e-05/0.4263, allocations: 4 kB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.4263, allocations: 0 / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/0.4264, allocations: 4 kB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.13e-05/0.4264, allocations: 0 / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.414e-05/0.4264, allocations: 0 / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.45e-05/0.4265, allocations: 7.938 kB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.29e-05/0.4266, allocations: 3.984 kB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.328e-05/0.4266, allocations: 3.938 kB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.108e-05/0.4266, allocations: 0 / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.4266, allocations: 0 / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.24e-06/0.4266, allocations: 0 / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.4267, allocations: 4 kB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.4267, allocations: 4 kB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 7.704e-05/0.4268, allocations: 7.984 kB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.4268, allocations: 0 / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4268, allocations: 0 / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.4268, allocations: 0 / 1.327 GB, free: 0.9531 MB / 1.014 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.0003773/0.4271, allocations: 236.2 kB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.4272, allocations: 19.95 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.733e-05/0.4272, allocations: 192 / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.015e-05/0.4273, allocations: 30.75 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.157e-05/0.4273, allocations: 0.9375 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.4274, allocations: 106.5 kB / 1.328 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.4274, allocations: 4.375 kB / 1.328 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.4274, allocations: 4.375 kB / 1.328 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.25e-05/0.4275, allocations: 30.02 kB / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.4275, allocations: 3.938 kB / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.4275, allocations: 0 / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.4275, allocations: 4 kB / 1.328 GB, free: 464 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.536e-05/0.4275, allocations: 0 / 1.328 GB, free: 464 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.4279, allocations: 358.5 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.428, allocations: 169.6 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.334e-05/0.4281, allocations: 84.08 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.4281, allocations: 75.28 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.647e-05/0.4282, allocations: 113.8 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.4282, allocations: 0 / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.497e-05/0.4283, allocations: 33.73 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.506e-05/0.4283, allocations: 134.6 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.4284, allocations: 93.86 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.4285, allocations: 25.7 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.4285, allocations: 84.14 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.4285, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.4285, allocations: 9.719 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4287, allocations: 314.8 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.862e-06/0.4287, allocations: 8.062 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-06/0.4287, allocations: 0 / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.782e-05/0.4288, allocations: 79.22 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.322e-05/0.4288, allocations: 75.28 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.317e-05/0.4289, allocations: 33.69 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.93e-05/0.4289, allocations: 79.28 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-05/0.429, allocations: 83.22 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.387e-05/0.429, allocations: 154.6 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.326e-05/0.4291, allocations: 75.28 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.357e-05/0.4292, allocations: 158.5 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.134e-05/0.4292, allocations: 83.22 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.4293, allocations: 83.22 kB / 1.33 GB, free: 13.96 MB / 1.029 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.0001572/0.4294, allocations: 264.9 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.46e-05/0.4295, allocations: 109 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.687e-05/0.4296, allocations: 108.1 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001034/0.4297, allocations: 184.2 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.243e-05/0.4298, allocations: 176.3 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001012/0.4299, allocations: 184.2 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.4302, allocations: 376.2 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.073e-05/0.4302, allocations: 105 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.498e-05/0.4303, allocations: 104.9 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/0.4304, allocations: 188.2 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.322e-05/0.4305, allocations: 180.2 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.905e-05/0.4306, allocations: 180.6 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.309e-05/0.4307, allocations: 176.3 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.4309, allocations: 315.7 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.974e-05/0.431, allocations: 108.9 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.208e-05/0.431, allocations: 176.3 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.4311, allocations: 105 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.4313, allocations: 188.2 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.4313, allocations: 101 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.766e-05/0.4313, allocations: 83.28 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4313, allocations: 0 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002725/0.4316, allocations: 0 / 1.333 GB, free: 10.41 MB / 1.029 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.0005368/0.4322, allocations: 0.8125 MB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.407e-05/0.4322, allocations: 0 / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4322, allocations: 0 / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.4322, allocations: 0 / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.4326, allocations: 467.6 kB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.4339, allocations: 1.532 MB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.035e-05/0.434, allocations: 51.36 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.782e-06/0.434, allocations: 0 / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.434, allocations: 7.438 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.434, allocations: 0 / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.4552, allocations: 1.07 MB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.81, allocations: 8.703 kB / 1.337 GB, free: 6.492 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.061328290961683]