Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008492/0.0008492, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8621/0.8621, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.674/1.674, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.447e-06/1.065e-05, allocations: 6.281 kB / 0.981 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002192/0.002203, allocations: 2.177 MB / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.003299, allocations: 0.8812 MB / 0.984 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.102e-05/0.00337, allocations: 0 / 0.984 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.003746, allocations: 178.8 kB / 0.9841 GB, free: 15.29 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 8.497e-05/0.003831, allocations: 71.48 kB / 0.9842 GB, free: 15.22 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.004122, allocations: 123.6 kB / 0.9843 GB, free: 15.1 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.004308, allocations: 223 kB / 0.9845 GB, free: 14.88 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.004441, allocations: 66.03 kB / 0.9846 GB, free: 14.82 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.004554, allocations: 127.6 kB / 0.9847 GB, free: 14.69 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.909e-05/0.004633, allocations: 71.73 kB / 0.9848 GB, free: 14.62 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.004656, allocations: 20 kB / 0.9848 GB, free: 14.6 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.004849, allocations: 139.8 kB / 0.9849 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.004974, allocations: 223.3 kB / 0.9852 GB, free: 14.25 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.102e-05/0.005055, allocations: 127.5 kB / 0.9853 GB, free: 14.12 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004795/0.005534, allocations: 0.7122 MB / 0.986 GB, free: 13.41 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.005536, allocations: 0 / 0.986 GB, free: 13.41 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.21e-07/0.005537, allocations: 0 / 0.986 GB, free: 13.41 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.005544, allocations: 0 / 0.986 GB, free: 13.41 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007449/0.006289, allocations: 0.9226 MB / 0.9869 GB, free: 12.45 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.006325, allocations: 16.02 kB / 0.9869 GB, free: 12.43 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.006358, allocations: 42.75 kB / 0.9869 GB, free: 12.38 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000289/0.006647, allocations: 120.3 kB / 0.9871 GB, free: 12.26 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.007125, allocations: 0.537 MB / 0.9876 GB, free: 11.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.00714, allocations: 12.38 kB / 0.9876 GB, free: 11.68 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.007156, allocations: 16.38 kB / 0.9876 GB, free: 11.67 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.007399, allocations: 194.1 kB / 0.9878 GB, free: 11.47 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.007407, allocations: 192 / 0.9878 GB, free: 11.47 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.007422, allocations: 8.375 kB / 0.9878 GB, free: 11.46 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.007428, allocations: 4.125 kB / 0.9878 GB, free: 11.46 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002713/0.0077, allocations: 227.9 kB / 0.988 GB, free: 11.24 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008178/0.008517, allocations: 0.8233 MB / 0.9888 GB, free: 10.37 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.008916, allocations: 318.5 kB / 0.9891 GB, free: 10.05 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.009026, allocations: 96.95 kB / 0.9892 GB, free: 9.953 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000333/0.009359, allocations: 159.9 kB / 0.9894 GB, free: 9.797 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.009376, allocations: 38.5 kB / 0.9894 GB, free: 9.75 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 1.103e-06/0.009377, allocations: 0 / 0.9894 GB, free: 9.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0005447/0.009922, allocations: 409 kB / 0.9898 GB, free: 9.344 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.009952, allocations: 51.41 kB / 0.9898 GB, free: 9.281 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008942/0.01085, allocations: 1.005 MB / 0.9908 GB, free: 8.27 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.01086, allocations: 25.7 kB / 0.9909 GB, free: 8.238 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003774/0.01124, allocations: 344.2 kB / 0.9912 GB, free: 7.895 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.01126, allocations: 31.73 kB / 0.9912 GB, free: 7.863 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.0113, allocations: 25.72 kB / 0.9912 GB, free: 7.832 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.495e-05/0.01136, allocations: 310 kB / 0.9915 GB, free: 7.523 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.01148, allocations: 95.95 kB / 0.9916 GB, free: 7.43 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.0116, allocations: 126.5 kB / 0.9917 GB, free: 7.297 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.01181, allocations: 214.8 kB / 0.9919 GB, free: 7.078 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01182, allocations: 0 / 0.9919 GB, free: 7.078 MB / 0.948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003037/0.01212, allocations: 333 kB / 0.9923 GB, free: 6.746 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.01213, allocations: 11.88 kB / 0.9923 GB, free: 6.734 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01214, allocations: 0 / 0.9923 GB, free: 6.734 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.01215, allocations: 4 kB / 0.9923 GB, free: 6.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.386e-05/0.01223, allocations: 19.98 kB / 0.9923 GB, free: 6.711 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.01224, allocations: 7.984 kB / 0.9923 GB, free: 6.703 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.228e-05/0.01231, allocations: 15.95 kB / 0.9923 GB, free: 6.688 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.01232, allocations: 4 kB / 0.9923 GB, free: 6.684 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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 0.0001747/0.0125, allocations: 253.7 kB / 0.9926 GB, free: 6.426 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.01255, allocations: 75.48 kB / 0.9926 GB, free: 6.352 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.0129, allocations: 332.4 kB / 0.993 GB, free: 6.02 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.0129, allocations: 0 / 0.993 GB, free: 6.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01291, allocations: 0 / 0.993 GB, free: 6.02 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.01291, allocations: 4 kB / 0.993 GB, free: 6.016 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.01322, allocations: 448.5 kB / 0.9934 GB, free: 5.535 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01322, allocations: 0 / 0.9934 GB, free: 5.535 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.806e-05/0.01329, allocations: 27.92 kB / 0.9934 GB, free: 5.508 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.0133, allocations: 4 kB / 0.9934 GB, free: 5.504 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.01331, allocations: 7.938 kB / 0.9934 GB, free: 5.496 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01331, allocations: 0 / 0.9934 GB, free: 5.496 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01331, allocations: 0 / 0.9934 GB, free: 5.496 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.01362, allocations: 406.9 kB / 0.9938 GB, free: 5.082 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.01374, allocations: 111.4 kB / 0.9939 GB, free: 4.973 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.01377, allocations: 3.938 kB / 0.9939 GB, free: 4.969 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-05/0.01385, allocations: 8.266 kB / 0.9939 GB, free: 4.961 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.01388, allocations: 8 kB / 0.9939 GB, free: 4.953 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.01389, allocations: 7.984 kB / 0.9939 GB, free: 4.945 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005554/0.01444, allocations: 0.7175 MB / 0.9946 GB, free: 4.23 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.01444, allocations: 4 kB / 0.9947 GB, free: 4.227 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002488/0.01469, allocations: 75.83 kB / 0.9947 GB, free: 4.152 MB / 0.948 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 (9): * Single equations (assignments): 9 * 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.0005642/0.01526, allocations: 0.954 MB / 0.9957 GB, free: 3.172 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000277/0.01553, allocations: 215.8 kB / 0.9959 GB, free: 2.961 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01554, allocations: 0 / 0.9959 GB, free: 2.961 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.01564, allocations: 103.9 kB / 0.996 GB, free: 2.859 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.01593, allocations: 59.41 kB / 0.996 GB, free: 2.801 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006136/0.02206, allocations: 6.404 MB / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.02228, allocations: 346.6 kB / 1.003 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.02241, allocations: 85.78 kB / 1.003 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.02259, allocations: 216.4 kB / 1.003 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of SimCode: time 7.11e-07/0.02259, allocations: 0 / 1.003 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.04887, allocations: 12.68 MB / 1.015 GB, free: 15.15 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.135/7.184, allocations: 7.875 kB / 1.015 GB, free: 15.14 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.104757798835635]