Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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.0007924/0.0007924, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007844/0.0007844, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8413/0.8413, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.651/1.651, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.9506 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.865e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.418 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.005588/0.005606, allocations: 6.505 MB / 0.9569 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004931/0.01054, allocations: 4.713 MB / 0.9615 GB, free: 8.133 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005927/0.01113, allocations: 71.44 kB / 0.9616 GB, free: 8.062 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002657/0.01379, allocations: 1.605 MB / 0.9632 GB, free: 6.449 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007615/0.01455, allocations: 0.6396 MB / 0.9638 GB, free: 5.805 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.01495, allocations: 231.4 kB / 0.964 GB, free: 5.578 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.01612, allocations: 1.837 MB / 0.9658 GB, free: 3.738 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/0.01642, allocations: 232 kB / 0.966 GB, free: 3.488 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007699/0.01719, allocations: 0.9971 MB / 0.967 GB, free: 2.484 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005352/0.01773, allocations: 0.6817 MB / 0.9677 GB, free: 1.801 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 8.932e-05/0.01782, allocations: 80 kB / 0.9678 GB, free: 1.723 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.01811, allocations: 207.7 kB / 0.968 GB, free: 1.52 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.01832, allocations: 346.4 kB / 0.9683 GB, free: 1.18 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003155/0.01863, allocations: 454.7 kB / 0.9687 GB, free: 0.7344 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.02013, allocations: 2.371 MB / 0.971 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.02013, allocations: 7.938 kB / 0.971 GB, free: 14.35 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.132e-06/0.02014, allocations: 4 kB / 0.971 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.626e-05/0.02015, allocations: 0 / 0.971 GB, free: 14.34 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001899/0.02205, allocations: 2.224 MB / 0.9732 GB, free: 12.07 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.02209, allocations: 12.03 kB / 0.9732 GB, free: 12.06 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.411e-05/0.02216, allocations: 86.66 kB / 0.9733 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.02233, allocations: 211.5 kB / 0.9735 GB, free: 11.76 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.02391, allocations: 1.614 MB / 0.9751 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.02394, allocations: 33.11 kB / 0.9751 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.02397, allocations: 40 kB / 0.9752 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000465/0.02444, allocations: 472 kB / 0.9756 GB, free: 9.543 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.02445, allocations: 0 / 0.9756 GB, free: 9.543 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.02447, allocations: 11.98 kB / 0.9756 GB, free: 9.531 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.114e-05/0.0245, allocations: 28.98 kB / 0.9757 GB, free: 9.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004095/0.02491, allocations: 415.7 kB / 0.976 GB, free: 9.098 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.02669, allocations: 1.781 MB / 0.9778 GB, free: 7.254 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000605/0.0273, allocations: 489.1 kB / 0.9783 GB, free: 6.766 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.02748, allocations: 193.2 kB / 0.9784 GB, free: 6.574 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.02749, allocations: 4.281 kB / 0.9784 GB, free: 6.57 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.02751, allocations: 38.84 kB / 0.9785 GB, free: 6.523 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=34): time 1.623e-06/0.02751, allocations: 0 / 0.9785 GB, free: 6.523 MB / 0.9323 GB Notification: Performance of matching and sorting (n=34): time 0.0006519/0.02817, allocations: 0.6547 MB / 0.9791 GB, free: 5.863 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.0282, allocations: 59.41 kB / 0.9792 GB, free: 5.793 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/0.03024, allocations: 2.552 MB / 0.9817 GB, free: 3.211 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.03027, allocations: 33.7 kB / 0.9817 GB, free: 3.172 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004924/0.03076, allocations: 0.7646 MB / 0.9824 GB, free: 2.402 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.889e-05/0.03082, allocations: 118.9 kB / 0.9826 GB, free: 2.285 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.398e-05/0.03089, allocations: 69.64 kB / 0.9826 GB, free: 2.211 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.03097, allocations: 322 kB / 0.9829 GB, free: 1.891 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.03112, allocations: 135.9 kB / 0.9831 GB, free: 1.758 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.0313, allocations: 204 kB / 0.9833 GB, free: 1.547 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.0316, allocations: 322.6 kB / 0.9836 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.0316, allocations: 0 / 0.9836 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004586/0.03206, allocations: 0.5467 MB / 0.9841 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.03208, allocations: 4 kB / 0.9841 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.03208, allocations: 4 kB / 0.9841 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.0321, allocations: 0 / 0.9841 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.03227, allocations: 79.89 kB / 0.9842 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.03228, allocations: 4 kB / 0.9842 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.03246, allocations: 23.78 kB / 0.9842 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.03248, allocations: 12 kB / 0.9842 GB, free: 0.5508 MB / 0.9323 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 (36): * Single equations (assignments): 36 * 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.0005015/0.03298, allocations: 0.6847 MB / 0.9849 GB, free: 15.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.03311, allocations: 206.6 kB / 0.9851 GB, free: 15.65 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.03329, allocations: 215.2 kB / 0.9853 GB, free: 15.44 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.03329, allocations: 7.984 kB / 0.9853 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.0333, allocations: 0 / 0.9853 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.0333, allocations: 0 / 0.9853 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.03455, allocations: 1.441 MB / 0.9867 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.03456, allocations: 0 / 0.9867 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.03471, allocations: 79.89 kB / 0.9868 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.03471, allocations: 4 kB / 0.9868 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.03472, allocations: 8.094 kB / 0.9868 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.03473, allocations: 8 kB / 0.9868 GB, free: 13.83 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.03473, allocations: 3.938 kB / 0.9868 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.03519, allocations: 0.6491 MB / 0.9874 GB, free: 13.15 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/0.03553, allocations: 314.5 kB / 0.9877 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-05/0.03561, allocations: 8 kB / 0.9877 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.03582, allocations: 15.92 kB / 0.9878 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.03585, allocations: 27.89 kB / 0.9878 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.03587, allocations: 12 kB / 0.9878 GB, free: 12.78 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001991/0.03786, allocations: 1.831 MB / 0.9896 GB, free: 10.93 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.122e-06/0.03786, allocations: 4 kB / 0.9896 GB, free: 10.93 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006677/0.03853, allocations: 231.8 kB / 0.9898 GB, free: 10.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 34 * 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.001089/0.03961, allocations: 1.26 MB / 0.991 GB, free: 9.41 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000399/0.04001, allocations: 319.6 kB / 0.9913 GB, free: 9.098 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.04002, allocations: 0 / 0.9913 GB, free: 9.098 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.04016, allocations: 167.9 kB / 0.9915 GB, free: 8.934 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.04165, allocations: 0.6401 MB / 0.9921 GB, free: 8.312 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/0.05786, allocations: 14.92 MB / 1.007 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009458/0.0588, allocations: 1.17 MB / 1.008 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0006824/0.05949, allocations: 307.3 kB / 1.008 GB, free: 7.648 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005426/0.06003, allocations: 0.598 MB / 1.009 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of SimCode: time 1.243e-06/0.06003, allocations: 0 / 1.009 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4058/0.4658, allocations: 42.98 MB / 1.051 GB, free: 127.3 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.812/8.278, allocations: 3.844 kB / 1.051 GB, free: 127.3 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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: 12.139711041934788]