Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 111.7 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.576/2.576, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] 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.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_10_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_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 71.88 kB / 1.056 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8081/0.8102, allocations: 160.7 MB / 1.213 GB, free: 3.891 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002505/0.8127, allocations: 0.5811 MB / 1.214 GB, free: 3.461 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 6.589e-05/0.8128, allocations: 1.281 kB / 1.214 GB, free: 3.461 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/0.8128, allocations: 0 / 1.214 GB, free: 3.461 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.8128, allocations: 4 kB / 1.214 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.71e-05/0.8128, allocations: 0 / 1.214 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.021e-05/0.8129, allocations: 0.9688 kB / 1.214 GB, free: 3.457 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.34e-05/0.813, allocations: 12.91 kB / 1.214 GB, free: 3.445 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.085e-05/0.813, allocations: 5.906 kB / 1.214 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.562e-05/0.813, allocations: 0 / 1.214 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.196e-05/0.8131, allocations: 1.125 kB / 1.214 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.8131, allocations: 0 / 1.214 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.54e-06/0.8131, allocations: 1.156 kB / 1.214 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.8131, allocations: 0 / 1.214 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.8131, allocations: 0 / 1.214 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 7.421e-05/0.8132, allocations: 8.906 kB / 1.214 GB, free: 3.434 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8132, allocations: 1.062 kB / 1.214 GB, free: 3.434 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.966e-06/0.8132, allocations: 0 / 1.214 GB, free: 3.434 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.8132, allocations: 3.938 kB / 1.214 GB, free: 3.43 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.0003739/0.8136, allocations: 322.4 kB / 1.214 GB, free: 3.07 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.8136, allocations: 10.75 kB / 1.214 GB, free: 3.07 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.276e-05/0.8137, allocations: 30.75 kB / 1.214 GB, free: 3.031 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.403e-05/0.8137, allocations: 2 kB / 1.214 GB, free: 3.031 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.8139, allocations: 161.5 kB / 1.214 GB, free: 2.836 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.8139, allocations: 4.375 kB / 1.214 GB, free: 2.832 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.8139, allocations: 1.469 kB / 1.214 GB, free: 2.832 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.505e-05/0.814, allocations: 31.31 kB / 1.214 GB, free: 2.797 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.814, allocations: 5.062 kB / 1.214 GB, free: 2.793 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.814, allocations: 0 / 1.214 GB, free: 2.793 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.814, allocations: 0 / 1.214 GB, free: 2.793 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.663e-05/0.814, allocations: 1.062 kB / 1.214 GB, free: 2.793 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.8144, allocations: 391.7 kB / 1.214 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.647e-05/0.8145, allocations: 170.2 kB / 1.215 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.591e-05/0.8145, allocations: 88.14 kB / 1.215 GB, free: 2.098 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.487e-05/0.8145, allocations: 75.28 kB / 1.215 GB, free: 2.023 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.673e-05/0.8146, allocations: 106.9 kB / 1.215 GB, free: 1.91 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.8146, allocations: 4 kB / 1.215 GB, free: 1.906 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.435e-05/0.8147, allocations: 30.8 kB / 1.215 GB, free: 1.871 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.8147, allocations: 127.7 kB / 1.215 GB, free: 1.734 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.8149, allocations: 96.8 kB / 1.215 GB, free: 1.633 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.8149, allocations: 26.48 kB / 1.215 GB, free: 1.602 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.8149, allocations: 84.12 kB / 1.215 GB, free: 1.516 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.8149, allocations: 0.9688 kB / 1.215 GB, free: 1.516 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.8149, allocations: 10.91 kB / 1.215 GB, free: 1.5 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.8151, allocations: 316 kB / 1.216 GB, free: 1.184 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-06/0.8151, allocations: 0 / 1.216 GB, free: 1.184 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.749e-06/0.8151, allocations: 0 / 1.216 GB, free: 1.184 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.522e-05/0.8151, allocations: 76.38 kB / 1.216 GB, free: 1.109 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.285e-05/0.8151, allocations: 79.22 kB / 1.216 GB, free: 1.031 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.961e-05/0.8152, allocations: 31.83 kB / 1.216 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.8153, allocations: 80.88 kB / 1.216 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.63e-05/0.8153, allocations: 80.41 kB / 1.216 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.636e-05/0.8154, allocations: 171.5 kB / 1.216 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.323e-05/0.8154, allocations: 76.09 kB / 1.216 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.15e-05/0.8155, allocations: 151.5 kB / 1.216 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.213e-05/0.8155, allocations: 80.16 kB / 1.216 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.8156, allocations: 76.25 kB / 1.216 GB, free: 308 kB / 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.000149/0.8157, allocations: 266.3 kB / 1.217 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-05/0.8158, allocations: 110 kB / 1.217 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.163e-05/0.8159, allocations: 109.2 kB / 1.217 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.175e-05/0.816, allocations: 177.3 kB / 1.217 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.133e-05/0.8161, allocations: 181.3 kB / 1.217 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.609e-05/0.8162, allocations: 181.4 kB / 1.217 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.8165, allocations: 411.5 kB / 1.218 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-05/0.8165, allocations: 101 kB / 1.218 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.611e-05/0.8166, allocations: 102.5 kB / 1.218 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.781e-05/0.8167, allocations: 181 kB / 1.218 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.8168, allocations: 181.2 kB / 1.218 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.725e-05/0.8169, allocations: 185.3 kB / 1.219 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-05/0.817, allocations: 185.4 kB / 1.219 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.8171, allocations: 303.6 kB / 1.219 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.8172, allocations: 183.4 kB / 1.219 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.8173, allocations: 189.5 kB / 1.219 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.609e-05/0.8174, allocations: 110.3 kB / 1.219 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/0.8175, allocations: 181.3 kB / 1.22 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.497e-05/0.8176, allocations: 101 kB / 1.22 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.784e-05/0.8177, allocations: 81.64 kB / 1.22 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8177, allocations: 0.75 kB / 1.22 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000294/0.8179, allocations: 0 / 1.22 GB, free: 12.65 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.0005349/0.8185, allocations: 0.8148 MB / 1.221 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.371e-05/0.8185, allocations: 4.953 kB / 1.221 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8185, allocations: 0 / 1.221 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.8185, allocations: 1.062 kB / 1.221 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.8189, allocations: 465.7 kB / 1.221 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.8202, allocations: 1.531 MB / 1.223 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.8205, allocations: 0.675 MB / 1.223 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.074e-05/0.8206, allocations: 3.938 kB / 1.223 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.8206, allocations: 7.438 kB / 1.223 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of SimCode: time 5.91e-07/0.8206, allocations: 4.031 kB / 1.223 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.8432, allocations: 0.919 MB / 1.224 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.036/8.879, allocations: 10.25 kB / 1.224 GB, free: 8.539 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.680258192121983]