Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",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.001579/0.001579, 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.002124/0.002124, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.531 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.385/2.385, allocations: 390.2 MB / 0.6643 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001677, allocations: 67.84 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7147/0.7164, allocations: 140.4 MB / 0.9491 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002016/0.7184, allocations: 0.6503 MB / 0.9497 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.7198, allocations: 1.122 MB / 0.9508 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.135e-05/0.7199, allocations: 1.375 kB / 0.9508 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.154e-05/0.7199, allocations: 0 / 0.9508 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.245e-05/0.72, allocations: 11.94 kB / 0.9508 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.7204, allocations: 105.7 kB / 0.9509 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.236e-05/0.7205, allocations: 78.2 kB / 0.951 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.79e-05/0.7206, allocations: 4.125 kB / 0.951 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.086e-05/0.7207, allocations: 39.02 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.77e-05/0.7207, allocations: 18.84 kB / 0.951 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.7208, allocations: 5.5 kB / 0.951 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.856e-05/0.7208, allocations: 13.62 kB / 0.9511 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.7209, allocations: 14.67 kB / 0.9511 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.184e-05/0.7209, allocations: 29.53 kB / 0.9511 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.721, allocations: 75.09 kB / 0.9512 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7211, allocations: 0 / 0.9512 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.52e-07/0.7211, allocations: 0 / 0.9512 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.7211, allocations: 1.375 kB / 0.9512 GB, free: 7.523 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003517/0.7214, allocations: 370.3 kB / 0.9515 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.7215, allocations: 9.438 kB / 0.9515 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.203e-05/0.7215, allocations: 34.75 kB / 0.9516 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.7215, allocations: 4.875 kB / 0.9516 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.515e-05/0.7216, allocations: 182.3 kB / 0.9517 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.7216, allocations: 6.609 kB / 0.9518 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.7217, allocations: 5.781 kB / 0.9518 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.753e-05/0.7217, allocations: 35.14 kB / 0.9518 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.7217, allocations: 3.938 kB / 0.9518 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.7218, allocations: 1.094 kB / 0.9518 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-06/0.7218, allocations: 0 / 0.9518 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.194e-05/0.7218, allocations: 7.766 kB / 0.9518 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.7221, allocations: 286.1 kB / 0.9521 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.566e-05/0.7221, allocations: 25.23 kB / 0.9521 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.437e-05/0.7221, allocations: 11.83 kB / 0.9521 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.7222, allocations: 0 / 0.9521 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.7223, allocations: 58.8 kB / 0.9522 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.7223, allocations: 4 kB / 0.9522 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001917/0.7225, allocations: 71.61 kB / 0.9522 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.7225, allocations: 55.39 kB / 0.9523 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.957e-05/0.7226, allocations: 105.6 kB / 0.9524 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.7226, allocations: 28.08 kB / 0.9524 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.7227, allocations: 87.09 kB / 0.9525 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/0.7227, allocations: 9.25 kB / 0.9525 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.315e-05/0.7228, allocations: 29.67 kB / 0.9525 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.616e-05/0.7229, allocations: 316.3 kB / 0.9528 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.257e-05/0.7229, allocations: 26.33 kB / 0.9529 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-05/0.723, allocations: 52.08 kB / 0.9529 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.7231, allocations: 84.67 kB / 0.953 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.7231, allocations: 0 / 0.953 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002417/0.7234, allocations: 146.1 kB / 0.9531 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.7234, allocations: 36.92 kB / 0.9532 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7234, allocations: 0 / 0.9532 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.7235, allocations: 1.438 kB / 0.9532 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.569e-05/0.7235, allocations: 1.375 kB / 0.9532 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.7235, allocations: 5.266 kB / 0.9532 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.7237, allocations: 24.88 kB / 0.9532 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.7237, allocations: 4 kB / 0.9532 GB, free: 5.426 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 7.823e-05/0.7238, allocations: 126.5 kB / 0.9533 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.243e-05/0.7238, allocations: 6.312 kB / 0.9533 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.7239, allocations: 13.2 kB / 0.9533 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.7239, allocations: 0 / 0.9533 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.7239, allocations: 4 kB / 0.9533 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.7239, allocations: 1.156 kB / 0.9534 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.69e-05/0.724, allocations: 162.7 kB / 0.9535 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.724, allocations: 1.344 kB / 0.9535 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-06/0.724, allocations: 0 / 0.9535 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.724, allocations: 5.266 kB / 0.9535 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.724, allocations: 4 kB / 0.9535 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.724, allocations: 1.188 kB / 0.9535 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.724, allocations: 0 / 0.9535 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.618e-05/0.7241, allocations: 79.28 kB / 0.9536 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.393e-05/0.7242, allocations: 78.36 kB / 0.9537 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.7242, allocations: 0 / 0.9537 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.504e-05/0.7242, allocations: 9.312 kB / 0.9537 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.7242, allocations: 9.234 kB / 0.9537 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.7243, allocations: 5.156 kB / 0.9537 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.12e-05/0.7243, allocations: 80.28 kB / 0.9538 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7243, allocations: 0 / 0.9538 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002132/0.7245, allocations: 19.56 kB / 0.9538 GB, free: 4.789 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003583/0.7249, allocations: 0.6258 MB / 0.9544 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.7251, allocations: 122.6 kB / 0.9545 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.7251, allocations: 0.5 kB / 0.9545 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.873e-05/0.7251, allocations: 11.89 kB / 0.9545 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.7253, allocations: 9.125 kB / 0.9545 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.7265, allocations: 1.369 MB / 0.9559 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.7266, allocations: 0.6786 MB / 0.9565 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.217e-05/0.7266, allocations: 3.031 kB / 0.9565 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.7267, allocations: 8.812 kB / 0.9565 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7267, allocations: 0 / 0.9565 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0114/0.7381, allocations: 1.789 MB / 0.9583 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.7383, allocations: 210.2 kB / 0.9585 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.464, allocations: 3.938 kB / 0.9585 GB, free: 0.8711 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches