Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_9_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_9_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.001495/0.001495, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001766/0.001766, allocations: 195.4 kB / 16.14 MB, free: 6.652 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.23/1.23, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 67.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.58/0.5813, allocations: 140.4 MB / 0.9491 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001546/0.5829, allocations: 0.6031 MB / 0.9497 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 2.848e-05/0.5829, allocations: 1.375 kB / 0.9497 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.738e-05/0.583, allocations: 0 / 0.9497 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.583, allocations: 0 / 0.9497 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.186e-05/0.583, allocations: 0 / 0.9497 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.964e-05/0.5831, allocations: 1.375 kB / 0.9497 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.669e-05/0.5831, allocations: 9.359 kB / 0.9497 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.5832, allocations: 5.375 kB / 0.9497 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.203e-05/0.5832, allocations: 3.938 kB / 0.9497 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.405e-05/0.5832, allocations: 0 / 0.9497 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.438e-06/0.5832, allocations: 1.375 kB / 0.9497 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.076e-06/0.5832, allocations: 0 / 0.9497 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.238e-06/0.5832, allocations: 0 / 0.9497 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.685e-05/0.5832, allocations: 1.375 kB / 0.9497 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.68e-05/0.5833, allocations: 7.922 kB / 0.9497 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.5833, allocations: 1.375 kB / 0.9497 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.71e-07/0.5833, allocations: 0 / 0.9497 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.966e-06/0.5833, allocations: 0 / 0.9497 GB, free: 8.668 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.0001662/0.5835, allocations: 314.3 kB / 0.95 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.5835, allocations: 13.61 kB / 0.95 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.837e-05/0.5835, allocations: 30.75 kB / 0.95 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.525e-05/0.5836, allocations: 6.219 kB / 0.95 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.933e-05/0.5836, allocations: 164.3 kB / 0.9502 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-06/0.5836, allocations: 1.75 kB / 0.9502 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-06/0.5836, allocations: 384 / 0.9502 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.636e-05/0.5837, allocations: 32.39 kB / 0.9502 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.5837, allocations: 4 kB / 0.9502 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-06/0.5837, allocations: 0 / 0.9502 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-06/0.5837, allocations: 0 / 0.9502 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.335e-05/0.5837, allocations: 9.297 kB / 0.9502 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.5839, allocations: 383.6 kB / 0.9506 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.986e-05/0.584, allocations: 170.5 kB / 0.9508 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.445e-05/0.584, allocations: 84.14 kB / 0.9508 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.584, allocations: 75.28 kB / 0.9509 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.584, allocations: 115.1 kB / 0.951 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.584, allocations: 0 / 0.951 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.345e-05/0.5841, allocations: 27.08 kB / 0.9511 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.5841, allocations: 126.7 kB / 0.9512 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.117e-05/0.5842, allocations: 102 kB / 0.9513 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-06/0.5842, allocations: 29.64 kB / 0.9513 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.045e-05/0.5842, allocations: 80.14 kB / 0.9514 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.313e-06/0.5842, allocations: 0 / 0.9514 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.492e-05/0.5842, allocations: 11.09 kB / 0.9514 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.351e-05/0.5843, allocations: 316.2 kB / 0.9517 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.527e-06/0.5843, allocations: 0 / 0.9517 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.136e-06/0.5843, allocations: 4.109 kB / 0.9517 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.438e-06/0.5843, allocations: 80.66 kB / 0.9518 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.5843, allocations: 75.28 kB / 0.9518 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.098e-05/0.5843, allocations: 32.39 kB / 0.9519 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.5844, allocations: 80.78 kB / 0.9519 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.5844, allocations: 75.28 kB / 0.952 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.5844, allocations: 159.9 kB / 0.9522 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.316e-06/0.5844, allocations: 76.66 kB / 0.9522 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.5844, allocations: 154.6 kB / 0.9524 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.5845, allocations: 88.58 kB / 0.9525 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.5845, allocations: 76.66 kB / 0.9526 GB, free: 5.539 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 4.511e-05/0.5845, allocations: 261.7 kB / 0.9528 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.5846, allocations: 110.3 kB / 0.9529 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.5846, allocations: 117.2 kB / 0.953 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.5846, allocations: 181.7 kB / 0.9532 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.09e-05/0.5847, allocations: 185.6 kB / 0.9534 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/0.5847, allocations: 177.6 kB / 0.9535 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.5848, allocations: 410.5 kB / 0.9539 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.5848, allocations: 106.4 kB / 0.954 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.22e-05/0.5848, allocations: 104.9 kB / 0.9541 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.878e-05/0.5848, allocations: 177.6 kB / 0.9543 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.5849, allocations: 177.6 kB / 0.9545 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.118e-05/0.5849, allocations: 181.6 kB / 0.9546 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-05/0.5849, allocations: 184.2 kB / 0.9548 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.663e-05/0.585, allocations: 312.2 kB / 0.9551 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.585, allocations: 179.5 kB / 0.9553 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.5851, allocations: 189.6 kB / 0.9555 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.672e-05/0.5851, allocations: 105 kB / 0.9556 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.5851, allocations: 185.6 kB / 0.9557 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.5852, allocations: 102.4 kB / 0.9558 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.722e-05/0.5852, allocations: 76.66 kB / 0.9559 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5852, allocations: 1.375 kB / 0.9559 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002367/0.5854, allocations: 0 / 0.9559 GB, free: 1.891 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.0001975/0.5856, allocations: 0.8133 MB / 0.9567 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 2.468e-05/0.5857, allocations: 5.312 kB / 0.9567 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5857, allocations: 0 / 0.9567 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.5857, allocations: 0 / 0.9567 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.5859, allocations: 0.5266 MB / 0.9572 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007126/0.5866, allocations: 1.525 MB / 0.9587 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.5868, allocations: 0.6745 MB / 0.9594 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.133e-06/0.5868, allocations: 0 / 0.9594 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.728e-05/0.5868, allocations: 11.38 kB / 0.9594 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.5869, allocations: 0 / 0.9594 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9962/1.583, allocations: 0.7859 MB / 0.9602 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002354/1.583, allocations: 217.5 kB / 0.9604 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/3.49, allocations: 7.875 kB / 0.9604 GB, free: 13.57 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches