Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="BuildingSystems_BuildingSystems_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.00744/0.00744, allocations: 101 kB / 15.73 MB, free: 6.059 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.001837/0.001837, allocations: 194.4 kB / 16.68 MB, free: 5.969 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002464/0.002464, allocations: 283.6 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.991/0.991, allocations: 169.2 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002741/0.002741, allocations: 91.86 kB / 0.6809 GB, free: 7.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4253, allocations: 86.98 MB / 0.7659 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002662/0.428, allocations: 1.521 MB / 0.7674 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000723/0.4287, allocations: 444.7 kB / 0.7678 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.276e-05/0.4288, allocations: 4 kB / 0.7678 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.368e-05/0.4288, allocations: 7.922 kB / 0.7678 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.414e-05/0.4289, allocations: 3.938 kB / 0.7678 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.4291, allocations: 19.92 kB / 0.7678 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.735e-05/0.4292, allocations: 47.89 kB / 0.7679 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.4293, allocations: 19.94 kB / 0.7679 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.4294, allocations: 27.92 kB / 0.7679 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.4295, allocations: 27.83 kB / 0.7679 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.4295, allocations: 4 kB / 0.7679 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.4295, allocations: 4 kB / 0.7679 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.4295, allocations: 4 kB / 0.7679 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.4296, allocations: 27.86 kB / 0.768 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.556e-05/0.4297, allocations: 39.62 kB / 0.768 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.4297, allocations: 0 / 0.768 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4297, allocations: 0 / 0.768 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.4297, allocations: 0 / 0.768 GB, free: 1.672 MB / 0.5294 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.0005301/0.4302, allocations: 368.5 kB / 0.7684 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.4303, allocations: 8.031 kB / 0.7684 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.4303, allocations: 34.73 kB / 0.7684 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/0.4304, allocations: 16.83 kB / 0.7684 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.4305, allocations: 180.3 kB / 0.7686 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.4305, allocations: 384 / 0.7686 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.4305, allocations: 4.375 kB / 0.7686 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.4307, allocations: 61.8 kB / 0.7687 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4308, allocations: 7.984 kB / 0.7687 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.4308, allocations: 4 kB / 0.7687 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4308, allocations: 4 kB / 0.7687 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.431, allocations: 35.97 kB / 0.7687 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.4314, allocations: 300.6 kB / 0.769 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.4317, allocations: 62.55 kB / 0.7691 GB, free: 464 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.243e-05/0.4318, allocations: 24.91 kB / 0.7691 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.4319, allocations: 3.984 kB / 0.7691 GB, free: 432 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.4319, allocations: 34.56 kB / 0.7691 GB, free: 388 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4319, allocations: 0 / 0.7691 GB, free: 388 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003677/0.4323, allocations: 85.59 kB / 0.7692 GB, free: 296 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.4323, allocations: 55.41 kB / 0.7692 GB, free: 228 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.58e-05/0.4324, allocations: 117.8 kB / 0.7694 GB, free: 100 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.4324, allocations: 29.69 kB / 0.7694 GB, free: 64 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.4325, allocations: 88.14 kB / 0.7695 GB, free: 15.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.4325, allocations: 11.98 kB / 0.7695 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.4326, allocations: 13.72 kB / 0.7695 GB, free: 15.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4327, allocations: 326.8 kB / 0.7698 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.42e-05/0.4328, allocations: 15.98 kB / 0.7698 GB, free: 15.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.673e-05/0.4329, allocations: 19.98 kB / 0.7698 GB, free: 15.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.4331, allocations: 36.77 kB / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.4331, allocations: 4 kB / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002056/0.4333, allocations: 73.91 kB / 0.77 GB, free: 15.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.4333, allocations: 4 kB / 0.77 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.4333, allocations: 48 / 0.77 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.4333, allocations: 3.984 kB / 0.77 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.779e-05/0.4334, allocations: 11.98 kB / 0.77 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.4334, allocations: 0 / 0.77 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.54e-05/0.4335, allocations: 11.92 kB / 0.77 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.4335, allocations: 3.938 kB / 0.77 GB, free: 15.42 MB / 0.545 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 8.103e-05/0.4336, allocations: 116.2 kB / 0.7701 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.4336, allocations: 8 kB / 0.7701 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.4337, allocations: 7.906 kB / 0.7701 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4337, allocations: 3.938 kB / 0.7701 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.4337, allocations: 0 / 0.7701 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4337, allocations: 0 / 0.7701 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.4339, allocations: 189.5 kB / 0.7703 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4339, allocations: 0 / 0.7703 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.186e-05/0.434, allocations: 15.92 kB / 0.7703 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.434, allocations: 0 / 0.7703 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.434, allocations: 0 / 0.7703 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.434, allocations: 4 kB / 0.7703 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.434, allocations: 4 kB / 0.7703 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.4343, allocations: 167.5 kB / 0.7705 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.4343, allocations: 81.06 kB / 0.7706 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.4343, allocations: 4 kB / 0.7706 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-05/0.4344, allocations: 4 kB / 0.7706 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.4345, allocations: 7.984 kB / 0.7706 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.4345, allocations: 4 kB / 0.7706 GB, free: 14.72 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.074e-05/0.4345, allocations: 95.2 kB / 0.7707 GB, free: 14.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4345, allocations: 0 / 0.7707 GB, free: 14.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002271/0.4348, allocations: 8 kB / 0.7707 GB, free: 14.62 MB / 0.545 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.0005538/0.4353, allocations: 0.7007 MB / 0.7714 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.4356, allocations: 39.97 kB / 0.7714 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4356, allocations: 0 / 0.7714 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.028e-05/0.4357, allocations: 23.92 kB / 0.7714 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.4359, allocations: 6.75 kB / 0.7714 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.4375, allocations: 1.35 MB / 0.7727 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.4378, allocations: 0.6807 MB / 0.7734 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.291e-05/0.4379, allocations: 4.25 kB / 0.7734 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.4379, allocations: 15.42 kB / 0.7734 GB, free: 11.68 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4379, allocations: 0 / 0.7734 GB, free: 11.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.4586, allocations: 1.532 MB / 0.7749 GB, free: 10.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/8.101, allocations: 4.562 kB / 0.7749 GB, free: 10.26 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality.fmu > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)