Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality",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.001226/0.001226, 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.001221/0.001221, allocations: 193.2 kB / 16.13 MB, free: 6.656 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.297/1.297, allocations: 222.9 MB / 239.8 MB, free: 4.535 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.284/2.284, allocations: 390.2 MB / 0.6643 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 67.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6196/0.621, allocations: 140.4 MB / 0.949 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002388/0.6235, allocations: 1.574 MB / 0.9506 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005373/0.624, allocations: 440.7 kB / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.6241, allocations: 1.375 kB / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.406e-05/0.6241, allocations: 0 / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.889e-05/0.6242, allocations: 5.312 kB / 0.951 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.6244, allocations: 29.41 kB / 0.951 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.55e-05/0.6244, allocations: 40.36 kB / 0.9511 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.388e-05/0.6245, allocations: 22.84 kB / 0.9511 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.222e-05/0.6246, allocations: 24.16 kB / 0.9511 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.776e-05/0.6247, allocations: 21.42 kB / 0.9511 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.6247, allocations: 2.75 kB / 0.9511 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.28e-05/0.6247, allocations: 2.75 kB / 0.9511 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.6247, allocations: 9.297 kB / 0.9511 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.6248, allocations: 20 kB / 0.9512 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.317e-05/0.6249, allocations: 41.5 kB / 0.9512 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6249, allocations: 0 / 0.9512 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6249, allocations: 3.938 kB / 0.9512 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.6249, allocations: 0 / 0.9512 GB, free: 7.453 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004103/0.6253, allocations: 363.5 kB / 0.9516 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.6253, allocations: 9.625 kB / 0.9516 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.67e-05/0.6254, allocations: 40.06 kB / 0.9516 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.6254, allocations: 7.594 kB / 0.9516 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.116e-05/0.6255, allocations: 175 kB / 0.9518 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.6255, allocations: 1.75 kB / 0.9518 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.6255, allocations: 7.125 kB / 0.9518 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.6257, allocations: 71.09 kB / 0.9519 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.6257, allocations: 0 / 0.9519 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.6257, allocations: 1.469 kB / 0.9519 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.6258, allocations: 1.562 kB / 0.9519 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.6259, allocations: 45.69 kB / 0.9519 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.6263, allocations: 299.4 kB / 0.9522 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.6266, allocations: 63.5 kB / 0.9522 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.622e-05/0.6267, allocations: 27.16 kB / 0.9523 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.6267, allocations: 0 / 0.9523 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.186e-05/0.6267, allocations: 32.09 kB / 0.9523 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.6267, allocations: 4 kB / 0.9523 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003242/0.6271, allocations: 82.75 kB / 0.9524 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.6271, allocations: 56.86 kB / 0.9524 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.437e-05/0.6272, allocations: 117.4 kB / 0.9526 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.6272, allocations: 25.7 kB / 0.9526 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.618e-05/0.6272, allocations: 86.8 kB / 0.9527 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.6272, allocations: 20.92 kB / 0.9527 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.6273, allocations: 16.97 kB / 0.9527 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.148e-05/0.6273, allocations: 319.7 kB / 0.953 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.43e-05/0.6274, allocations: 21.73 kB / 0.953 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.31e-05/0.6275, allocations: 14.17 kB / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.6276, allocations: 44.66 kB / 0.9531 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6276, allocations: 0 / 0.9531 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001861/0.6278, allocations: 75.31 kB / 0.9531 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.6279, allocations: 4.125 kB / 0.9532 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.6279, allocations: 5.094 kB / 0.9532 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.6279, allocations: 0 / 0.9532 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.396e-05/0.628, allocations: 10.83 kB / 0.9532 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.628, allocations: 0.9375 kB / 0.9532 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.12e-05/0.628, allocations: 10.78 kB / 0.9532 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.628, allocations: 9.25 kB / 0.9532 GB, free: 5.48 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 (3): * Single equations (assignments): 3 * 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.631e-05/0.6281, allocations: 116.5 kB / 0.9533 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.6281, allocations: 2.875 kB / 0.9533 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.6282, allocations: 9.328 kB / 0.9533 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.6282, allocations: 0 / 0.9533 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6282, allocations: 1.406 kB / 0.9533 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.6282, allocations: 3.938 kB / 0.9533 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.6283, allocations: 171.2 kB / 0.9535 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6283, allocations: 0 / 0.9535 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.162e-05/0.6284, allocations: 14.83 kB / 0.9535 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.6284, allocations: 4 kB / 0.9535 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.6284, allocations: 0.875 kB / 0.9535 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.6284, allocations: 1.062 kB / 0.9535 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6284, allocations: 0 / 0.9535 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.6286, allocations: 170.1 kB / 0.9537 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.6287, allocations: 82.3 kB / 0.9537 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.6287, allocations: 0 / 0.9537 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-05/0.6288, allocations: 11.83 kB / 0.9537 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.6288, allocations: 1.375 kB / 0.9538 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.6288, allocations: 1.25 kB / 0.9538 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.6288, allocations: 101.9 kB / 0.9538 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6288, allocations: 0 / 0.9538 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002178/0.6291, allocations: 9.812 kB / 0.9539 GB, free: 4.77 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 (3): * Single equations (assignments): 3 * 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.0003457/0.6294, allocations: 0.6956 MB / 0.9545 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.6296, allocations: 38.53 kB / 0.9546 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.6296, allocations: 0 / 0.9546 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.544e-05/0.6297, allocations: 20.48 kB / 0.9546 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.63, allocations: 16.28 kB / 0.9546 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.6312, allocations: 1.354 MB / 0.9559 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.014e-05/0.6313, allocations: 0.6821 MB / 0.9566 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.29e-05/0.6313, allocations: 10.89 kB / 0.9566 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.6314, allocations: 16.97 kB / 0.9566 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6314, allocations: 0 / 0.9566 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01003/0.6414, allocations: 1.336 MB / 0.9579 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000131/0.6416, allocations: 207.8 kB / 0.9581 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/2.357, allocations: 0 / 0.9581 GB, free: 1.109 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches