Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IBPSA_latest_IBPSA_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.001604/0.001604, allocations: 104.5 kB / 15.98 MB, free: 6.344 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.001923/0.001923, allocations: 199.6 kB / 16.91 MB, free: 6.188 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.342/1.342, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7031/0.7031, allocations: 115.3 MB / 406.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.89 kB / 493.2 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2897, allocations: 76.16 MB / 0.556 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Diagnostics.Validation.CheckEquality): time 0.002489/0.2922, allocations: 1.58 MB / 0.5576 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005967/0.2929, allocations: 440 kB / 0.558 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.673e-05/0.2929, allocations: 1.344 kB / 0.558 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.293, allocations: 4.641 kB / 0.558 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.114e-05/0.293, allocations: 5.156 kB / 0.558 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.2932, allocations: 20.52 kB / 0.558 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.195e-05/0.2933, allocations: 44.23 kB / 0.558 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.737e-05/0.2934, allocations: 21.42 kB / 0.5581 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.918e-05/0.2935, allocations: 21.98 kB / 0.5581 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.072e-05/0.2936, allocations: 26.17 kB / 0.5581 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.2936, allocations: 3.125 kB / 0.5581 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/0.2936, allocations: 3.688 kB / 0.5581 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.2936, allocations: 11.33 kB / 0.5581 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.2937, allocations: 19.41 kB / 0.5581 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.953e-05/0.2937, allocations: 48.55 kB / 0.5582 GB, free: 34.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2938, allocations: 0 / 0.5582 GB, free: 34.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2938, allocations: 0 / 0.5582 GB, free: 34.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.2938, allocations: 3.25 kB / 0.5582 GB, free: 34.83 MB / 446.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.0004051/0.2942, allocations: 355.3 kB / 0.5585 GB, free: 34.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2942, allocations: 10.53 kB / 0.5585 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.557e-05/0.2943, allocations: 38.02 kB / 0.5586 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.2943, allocations: 4.5 kB / 0.5586 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.845e-05/0.2944, allocations: 176.2 kB / 0.5588 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.2944, allocations: 5 kB / 0.5588 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.2944, allocations: 1.844 kB / 0.5588 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.2946, allocations: 74.33 kB / 0.5588 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2946, allocations: 0.75 kB / 0.5588 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.2946, allocations: 0 / 0.5588 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2947, allocations: 3.453 kB / 0.5588 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.2948, allocations: 42.08 kB / 0.5589 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.2952, allocations: 295.8 kB / 0.5592 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.2955, allocations: 61.81 kB / 0.5592 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.1e-05/0.2956, allocations: 26.34 kB / 0.5592 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.2957, allocations: 5.219 kB / 0.5592 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.153e-05/0.2957, allocations: 31.84 kB / 0.5593 GB, free: 33.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2957, allocations: 0 / 0.5593 GB, free: 33.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003551/0.2961, allocations: 93.94 kB / 0.5594 GB, free: 33.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.2961, allocations: 51.97 kB / 0.5594 GB, free: 33.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.527e-05/0.2962, allocations: 121.2 kB / 0.5595 GB, free: 33.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.2962, allocations: 26.52 kB / 0.5596 GB, free: 33.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.557e-05/0.2962, allocations: 88.38 kB / 0.5596 GB, free: 33.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.2962, allocations: 18.16 kB / 0.5597 GB, free: 33.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.2963, allocations: 14.23 kB / 0.5597 GB, free: 33.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.2963, allocations: 323.6 kB / 0.56 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.176e-05/0.2964, allocations: 13.66 kB / 0.56 GB, free: 33.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.932e-05/0.2965, allocations: 18.3 kB / 0.56 GB, free: 33.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.2967, allocations: 45.62 kB / 0.5601 GB, free: 33.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2967, allocations: 0 / 0.5601 GB, free: 33.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000203/0.2969, allocations: 74.45 kB / 0.5601 GB, free: 33.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2969, allocations: 4.812 kB / 0.5601 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2969, allocations: 0.875 kB / 0.5601 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2969, allocations: 0.9844 kB / 0.5601 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.119e-05/0.297, allocations: 11.14 kB / 0.5601 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.297, allocations: 5.281 kB / 0.5601 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.554e-05/0.2971, allocations: 4.719 kB / 0.5602 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.2971, allocations: 5.5 kB / 0.5602 GB, free: 33.02 MB / 446.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 4.48e-05/0.2971, allocations: 112 kB / 0.5603 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.2972, allocations: 7.125 kB / 0.5603 GB, free: 32.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.2972, allocations: 14.67 kB / 0.5603 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2972, allocations: 1.594 kB / 0.5603 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2972, allocations: 0 / 0.5603 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2972, allocations: 0.75 kB / 0.5603 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.2974, allocations: 176.9 kB / 0.5605 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.2974, allocations: 0.5938 kB / 0.5605 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.408e-05/0.2975, allocations: 10.39 kB / 0.5605 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2975, allocations: 1.891 kB / 0.5605 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.2975, allocations: 4 kB / 0.5605 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2975, allocations: 3.469 kB / 0.5605 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2975, allocations: 0 / 0.5605 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.2977, allocations: 166 kB / 0.5606 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.2977, allocations: 83.27 kB / 0.5607 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.2978, allocations: 1.656 kB / 0.5607 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.774e-05/0.2979, allocations: 5.656 kB / 0.5607 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.2979, allocations: 2.891 kB / 0.5607 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.2979, allocations: 1.766 kB / 0.5607 GB, free: 32.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.991e-05/0.298, allocations: 112.4 kB / 0.5608 GB, free: 32.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.298, allocations: 0 / 0.5608 GB, free: 32.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.2982, allocations: 6.969 kB / 0.5608 GB, free: 32.35 MB / 446.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.0003517/0.2986, allocations: 0.6979 MB / 0.5615 GB, free: 31.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.2988, allocations: 39.7 kB / 0.5616 GB, free: 31.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2988, allocations: 0 / 0.5616 GB, free: 31.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.125e-05/0.2989, allocations: 27.34 kB / 0.5616 GB, free: 31.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.2992, allocations: 6.984 kB / 0.5616 GB, free: 31.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.3004, allocations: 1.359 MB / 0.5629 GB, free: 30.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.708e-05/0.3005, allocations: 0.6828 MB / 0.5636 GB, free: 29.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.53e-05/0.3006, allocations: 4.125 kB / 0.5636 GB, free: 29.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.3006, allocations: 15.27 kB / 0.5636 GB, free: 29.72 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3006, allocations: 2.531 kB / 0.5636 GB, free: 29.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.3164, allocations: 1.382 MB / 0.565 GB, free: 29.51 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001256/0.3165, allocations: 207.5 kB / 0.5652 GB, free: 29.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/1.948, allocations: 0.5938 kB / 0.5652 GB, free: 29.25 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Diagnostics_Validation_CheckEquality.fmu > IBPSA_latest_IBPSA.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)