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.001381/0.001381, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 191 kB / 16.53 MB, free: 6.391 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.242/1.242, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002212/0.002212, allocations: 294.8 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9637/0.9637, allocations: 169.2 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.001771, allocations: 97.09 kB / 0.5953 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1379, allocations: 86.98 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality): time 0.002572/0.1405, allocations: 1.517 MB / 0.6818 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006408/0.1411, allocations: 440.5 kB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.1412, allocations: 0.6562 kB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.1412, allocations: 4.656 kB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.041e-05/0.1413, allocations: 7.922 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.1415, allocations: 24.78 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.267e-05/0.1416, allocations: 44.48 kB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.882e-05/0.1417, allocations: 22.22 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.704e-05/0.1418, allocations: 31.86 kB / 0.6823 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.389e-05/0.1418, allocations: 23.91 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1418, allocations: 4 kB / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.1419, allocations: 4 kB / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.1419, allocations: 15.86 kB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.1419, allocations: 23.88 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.495e-05/0.142, allocations: 35.83 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.142, allocations: 0 / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.142, allocations: 0 / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.142, allocations: 0 / 0.6824 GB, free: 14.39 MB / 494.1 MB 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.0004567/0.1425, allocations: 367.3 kB / 0.6828 GB, free: 13.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1425, allocations: 12.03 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.003e-05/0.1426, allocations: 30.75 kB / 0.6828 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.1426, allocations: 4.938 kB / 0.6828 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1427, allocations: 176.3 kB / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.1427, allocations: 4.375 kB / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.1428, allocations: 4.375 kB / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.143, allocations: 69.67 kB / 0.683 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.143, allocations: 0 / 0.683 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.143, allocations: 4 kB / 0.6831 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.143, allocations: 4 kB / 0.6831 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.1432, allocations: 39.97 kB / 0.6831 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.1436, allocations: 292.7 kB / 0.6834 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.1439, allocations: 70.47 kB / 0.6834 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.555e-05/0.144, allocations: 24.91 kB / 0.6835 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.144, allocations: 0 / 0.6835 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.1441, allocations: 34.56 kB / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1441, allocations: 0 / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003663/0.1444, allocations: 89.64 kB / 0.6836 GB, free: 13.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.1445, allocations: 59.39 kB / 0.6836 GB, free: 12.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.417e-05/0.1446, allocations: 121.8 kB / 0.6838 GB, free: 12.81 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.1446, allocations: 25.7 kB / 0.6838 GB, free: 12.78 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.1446, allocations: 88.14 kB / 0.6839 GB, free: 12.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.1447, allocations: 11.89 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.1447, allocations: 13.72 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.282e-05/0.1448, allocations: 322.8 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.98e-05/0.1449, allocations: 15.98 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.914e-05/0.145, allocations: 24.02 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.1451, allocations: 32.83 kB / 0.6843 GB, free: 12.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.1452, allocations: 4 kB / 0.6843 GB, free: 12.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002065/0.1454, allocations: 77.5 kB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1454, allocations: 8 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1454, allocations: 3.938 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1454, allocations: 0 / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.779e-05/0.1455, allocations: 12 kB / 0.6844 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1455, allocations: 3.984 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.366e-05/0.1456, allocations: 4 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1456, allocations: 3.938 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB 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 6.937e-05/0.1457, allocations: 119.1 kB / 0.6845 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.1457, allocations: 7.844 kB / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.1457, allocations: 19.89 kB / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1457, allocations: 0 / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1457, allocations: 0 / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.1457, allocations: 0 / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.1459, allocations: 177.7 kB / 0.6847 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1459, allocations: 0 / 0.6847 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.097e-05/0.146, allocations: 7.984 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.146, allocations: 4 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.146, allocations: 0 / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.146, allocations: 0 / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.146, allocations: 4 kB / 0.6847 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.1463, allocations: 171.4 kB / 0.6849 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.1463, allocations: 81.02 kB / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.1463, allocations: 4 kB / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-05/0.1464, allocations: 7.984 kB / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.1465, allocations: 0 / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.1465, allocations: 4 kB / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.641e-05/0.1465, allocations: 99.2 kB / 0.6851 GB, free: 11.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1465, allocations: 0 / 0.6851 GB, free: 11.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004179/0.147, allocations: 8 kB / 0.6851 GB, free: 11.34 MB / 494.1 MB 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.0004564/0.1474, allocations: 0.7006 MB / 0.6857 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.1476, allocations: 39.97 kB / 0.6858 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1476, allocations: 0 / 0.6858 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.699e-05/0.1477, allocations: 20.31 kB / 0.6858 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.148, allocations: 7.984 kB / 0.6858 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.1494, allocations: 1.346 MB / 0.6871 GB, free: 9.121 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.1496, allocations: 0.6808 MB / 0.6878 GB, free: 8.414 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.371e-05/0.1496, allocations: 4 kB / 0.6878 GB, free: 8.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.1497, allocations: 27.3 kB / 0.6878 GB, free: 8.383 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1497, allocations: 4 kB / 0.6878 GB, free: 8.379 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.114/0.2637, allocations: 1.485 MB / 0.6893 GB, free: 6.996 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.223, allocations: 8.25 kB / 0.6893 GB, free: 6.992 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Diagnostics_Validation_CheckEquality.fmu > BuildingSystems_BuildingSystems.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)