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.001325/0.001325, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001344/0.001344, allocations: 194 kB / 16.25 MB, free: 6.633 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.236/1.236, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.061/2.061, allocations: 390.2 MB / 0.6644 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 67.89 kB / 0.8122 GB, free: 14.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4619/0.4631, allocations: 140.4 MB / 0.9493 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.001387/0.4645, allocations: 0.6409 MB / 0.9499 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 2.843e-05/0.4645, allocations: 4 kB / 0.9499 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.891e-05/0.4645, allocations: 1.375 kB / 0.9499 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.4646, allocations: 0 / 0.9499 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 1.934e-05/0.4646, allocations: 0 / 0.9499 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.616e-05/0.4646, allocations: 0 / 0.9499 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.396e-05/0.4647, allocations: 2.75 kB / 0.9499 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.036e-05/0.4647, allocations: 13.3 kB / 0.9499 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.047e-05/0.4647, allocations: 0 / 0.9499 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.255e-05/0.4647, allocations: 0 / 0.9499 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.766e-06/0.4648, allocations: 1.375 kB / 0.9499 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.009e-06/0.4648, allocations: 0 / 0.9499 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.297e-06/0.4648, allocations: 0 / 0.9499 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.577e-05/0.4648, allocations: 5.375 kB / 0.9499 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.741e-05/0.4648, allocations: 0 / 0.9499 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.4648, allocations: 5.312 kB / 0.9499 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4649, allocations: 0 / 0.9499 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.4649, allocations: 3.938 kB / 0.9499 GB, free: 8.613 MB / 0.7169 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.0001602/0.465, allocations: 314.3 kB / 0.9502 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.4651, allocations: 9.625 kB / 0.9502 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.953e-05/0.4651, allocations: 32.12 kB / 0.9503 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.45e-05/0.4651, allocations: 4.844 kB / 0.9503 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.097e-05/0.4652, allocations: 173.7 kB / 0.9504 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.4652, allocations: 384 / 0.9504 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-06/0.4652, allocations: 1.75 kB / 0.9504 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.069e-05/0.4652, allocations: 27.64 kB / 0.9505 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-06/0.4652, allocations: 7.938 kB / 0.9505 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.4653, allocations: 7.969 kB / 0.9505 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.4653, allocations: 1.375 kB / 0.9505 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.171e-05/0.4653, allocations: 5.312 kB / 0.9505 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.4654, allocations: 374.3 kB / 0.9508 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.239e-05/0.4655, allocations: 174.4 kB / 0.951 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.106e-05/0.4655, allocations: 84.14 kB / 0.9511 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.4655, allocations: 75.28 kB / 0.9512 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.4655, allocations: 115.2 kB / 0.9513 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.4655, allocations: 0 / 0.9513 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 4.751e-05/0.4656, allocations: 27.08 kB / 0.9513 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.4656, allocations: 126.7 kB / 0.9514 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.218e-05/0.4657, allocations: 97.98 kB / 0.9515 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.366e-06/0.4657, allocations: 25.7 kB / 0.9515 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.889e-06/0.4657, allocations: 84.12 kB / 0.9516 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.252e-06/0.4657, allocations: 1.375 kB / 0.9516 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/0.4657, allocations: 11.09 kB / 0.9516 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.742e-05/0.4657, allocations: 314.8 kB / 0.9519 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-06/0.4657, allocations: 0 / 0.9519 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.495e-06/0.4657, allocations: 5.375 kB / 0.9519 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.025e-06/0.4658, allocations: 79.41 kB / 0.952 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.4658, allocations: 79.22 kB / 0.9521 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.846e-05/0.4658, allocations: 32.39 kB / 0.9521 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.4658, allocations: 80.78 kB / 0.9522 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.4658, allocations: 75.28 kB / 0.9523 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.4659, allocations: 155.9 kB / 0.9524 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.326e-06/0.4659, allocations: 80.64 kB / 0.9525 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.4659, allocations: 159.9 kB / 0.9526 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.781e-05/0.4659, allocations: 87.22 kB / 0.9527 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.466, allocations: 76.66 kB / 0.9528 GB, free: 5.473 MB / 0.7169 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 3.862e-05/0.466, allocations: 261.7 kB / 0.9531 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.466, allocations: 106.3 kB / 0.9532 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.713e-05/0.4661, allocations: 117.2 kB / 0.9533 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.4661, allocations: 181.7 kB / 0.9534 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/0.4661, allocations: 181.6 kB / 0.9536 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.4661, allocations: 177.6 kB / 0.9538 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.4662, allocations: 406.5 kB / 0.9542 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.4662, allocations: 102.4 kB / 0.9543 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.024e-05/0.4662, allocations: 118.2 kB / 0.9544 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.537e-05/0.4663, allocations: 176.3 kB / 0.9545 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.4663, allocations: 177.6 kB / 0.9547 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.531e-05/0.4663, allocations: 185.6 kB / 0.9549 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.478e-05/0.4663, allocations: 177.6 kB / 0.9551 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.414e-05/0.4664, allocations: 314.8 kB / 0.9554 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.086e-05/0.4664, allocations: 183.5 kB / 0.9555 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.4664, allocations: 181.6 kB / 0.9557 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.731e-05/0.4665, allocations: 106.4 kB / 0.9558 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.4665, allocations: 188.2 kB / 0.956 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.4665, allocations: 102.4 kB / 0.9561 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.465e-05/0.4665, allocations: 82.02 kB / 0.9562 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4665, allocations: 0 / 0.9562 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002245/0.4668, allocations: 0 / 0.9562 GB, free: 1.824 MB / 0.7169 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.0001638/0.4669, allocations: 0.8107 MB / 0.957 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 2.904e-05/0.467, allocations: 1.375 kB / 0.957 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.467, allocations: 0 / 0.957 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.467, allocations: 5.359 kB / 0.957 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.4672, allocations: 455.2 kB / 0.9574 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007367/0.4679, allocations: 1.535 MB / 0.9589 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.4682, allocations: 0.6741 MB / 0.9596 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.029e-06/0.4682, allocations: 0 / 0.9596 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.683e-05/0.4682, allocations: 7.438 kB / 0.9596 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of SimCode: time 1.593e-06/0.4682, allocations: 0 / 0.9596 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1778/0.646, allocations: 0.8306 MB / 0.9604 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.6462, allocations: 213.5 kB / 0.9606 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/2.205, allocations: 0 / 0.9606 GB, free: 13.59 MB / 0.7325 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