Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001726/0.001726, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002125/0.002125, allocations: 215.6 kB / 22.25 MB, free: 5.254 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.804/2.804, allocations: 476 MB / 0.7699 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",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.002037/0.002037, allocations: 66.41 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3329, allocations: 170 MB / 1.283 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001776/0.3347, allocations: 0.5904 MB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 3.45e-05/0.3347, allocations: 0 / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.3347, allocations: 0 / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.194e-05/0.3348, allocations: 3.938 kB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.49e-05/0.3348, allocations: 0 / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 2.51e-05/0.3348, allocations: 0 / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.104e-05/0.3349, allocations: 4 kB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.95e-05/0.3349, allocations: 4 kB / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.271e-05/0.3349, allocations: 0 / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.911e-05/0.3349, allocations: 7.922 kB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.3349, allocations: 4 kB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.317e-06/0.3349, allocations: 0 / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.335, allocations: 3.938 kB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.725e-05/0.335, allocations: 0 / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.268e-05/0.3351, allocations: 9.672 kB / 1.283 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3351, allocations: 0 / 1.283 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3351, allocations: 0 / 1.283 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3351, allocations: 0 / 1.283 GB, free: 11.76 MB / 0.9825 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.0002923/0.3354, allocations: 238.5 kB / 1.283 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3354, allocations: 8.031 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/0.3354, allocations: 30.75 kB / 1.283 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.971e-05/0.3354, allocations: 8.938 kB / 1.283 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.3356, allocations: 106.1 kB / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.3356, allocations: 384 / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.891e-06/0.3356, allocations: 8.25 kB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.574e-05/0.3356, allocations: 30.27 kB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3357, allocations: 3.938 kB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.3357, allocations: 0 / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-06/0.3357, allocations: 0 / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.477e-05/0.3357, allocations: 0 / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.336, allocations: 354.6 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.3361, allocations: 181 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.318e-05/0.3362, allocations: 80.14 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.245e-05/0.3362, allocations: 75.28 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.907e-05/0.3363, allocations: 109.8 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.3363, allocations: 0 / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.227e-05/0.3364, allocations: 29.66 kB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/0.3364, allocations: 134.6 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.638e-05/0.3365, allocations: 97.86 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.3365, allocations: 25.7 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.3366, allocations: 84.14 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.3366, allocations: 4.125 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.3366, allocations: 9.719 kB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3368, allocations: 310.8 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-06/0.3368, allocations: 128 / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.115e-06/0.3368, allocations: 0 / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.523e-05/0.3368, allocations: 83.28 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.244e-05/0.3369, allocations: 79.22 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.974e-05/0.3369, allocations: 33.69 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.271e-05/0.337, allocations: 83.28 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-05/0.337, allocations: 79.22 kB / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.273e-05/0.3371, allocations: 154.6 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.976e-05/0.3371, allocations: 87.22 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.947e-05/0.3372, allocations: 150.6 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.533e-05/0.3373, allocations: 79.22 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.613e-05/0.3374, allocations: 85.02 kB / 1.286 GB, free: 8.773 MB / 0.9825 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.0001788/0.3375, allocations: 264.3 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/0.3376, allocations: 105 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.115e-05/0.3377, allocations: 112.1 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.811e-05/0.3378, allocations: 176.3 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001256/0.3379, allocations: 180.2 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.243e-05/0.338, allocations: 188.2 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.3383, allocations: 376.2 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.816e-05/0.3383, allocations: 108.9 kB / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.729e-05/0.3384, allocations: 105 kB / 1.287 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.834e-05/0.3385, allocations: 176.3 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.3386, allocations: 188.2 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001357/0.3387, allocations: 180.3 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001076/0.3388, allocations: 180.2 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.3391, allocations: 312.1 kB / 1.288 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.152e-05/0.3391, allocations: 105 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.3392, allocations: 180.3 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.3394, allocations: 112.9 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.3395, allocations: 180.2 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.89e-05/0.3395, allocations: 104.9 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.706e-05/0.3396, allocations: 79.28 kB / 1.289 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3396, allocations: 0 / 1.289 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002859/0.3399, allocations: 0 / 1.289 GB, free: 5.238 MB / 0.9825 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.0006399/0.3405, allocations: 0.8048 MB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.245e-05/0.3406, allocations: 8 kB / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3406, allocations: 0 / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.774e-06/0.3406, allocations: 8.031 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.3411, allocations: 455.7 kB / 1.29 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.3426, allocations: 1.532 MB / 1.292 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.388e-05/0.3427, allocations: 51.36 kB / 1.292 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.834e-06/0.3427, allocations: 0 / 1.292 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.3427, allocations: 7.438 kB / 1.292 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of SimCode: time 1.333e-06/0.3427, allocations: 4 kB / 1.292 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.372, allocations: 1.423 MB / 1.293 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.66, allocations: 5.891 kB / 1.293 GB, free: 0.957 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.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: 18.311831429600716]