Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008039/0.0008039, 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.0007863/0.0007863, allocations: 165.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.8781/0.8781, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.708/1.708, allocations: 377.8 MB / 0.6221 GB, free: 8.668 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.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.981 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.235e-05, allocations: 2.281 kB / 0.981 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.00579/0.005812, allocations: 6.509 MB / 0.9874 GB, free: 11.98 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004802/0.01061, allocations: 4.733 MB / 0.992 GB, free: 7.227 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006002/0.01121, allocations: 71.44 kB / 0.9921 GB, free: 7.156 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.002899/0.01411, allocations: 1.601 MB / 0.9937 GB, free: 5.547 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008579/0.01497, allocations: 0.6317 MB / 0.9943 GB, free: 4.91 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.01547, allocations: 246.4 kB / 0.9945 GB, free: 4.672 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001354/0.01682, allocations: 1.84 MB / 0.9963 GB, free: 2.828 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000357/0.01718, allocations: 228 kB / 0.9965 GB, free: 2.586 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009256/0.0181, allocations: 0.9894 MB / 0.9975 GB, free: 1.594 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006175/0.01872, allocations: 0.6856 MB / 0.9982 GB, free: 0.9062 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.01884, allocations: 80 kB / 0.9982 GB, free: 0.8281 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003242/0.01917, allocations: 207.7 kB / 0.9984 GB, free: 0.625 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.01937, allocations: 350.4 kB / 0.9988 GB, free: 288 kB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003372/0.01971, allocations: 454.7 kB / 0.9992 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001746/0.02146, allocations: 2.363 MB / 1.002 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.02146, allocations: 0 / 1.002 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.327e-06/0.02146, allocations: 4 kB / 1.002 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.682e-05/0.0215, allocations: 0 / 1.002 GB, free: 13.46 MB / 0.9636 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.002159/0.02366, allocations: 2.24 MB / 1.004 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.02369, allocations: 8.031 kB / 1.004 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.342e-05/0.02376, allocations: 74.72 kB / 1.004 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.02394, allocations: 211.5 kB / 1.004 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.02561, allocations: 1.622 MB / 1.006 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.02564, allocations: 37.11 kB / 1.006 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.02567, allocations: 32 kB / 1.006 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.02614, allocations: 472 kB / 1.006 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.02615, allocations: 3.938 kB / 1.006 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.02617, allocations: 15.98 kB / 1.006 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.04e-05/0.0262, allocations: 24.98 kB / 1.006 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.02661, allocations: 423.7 kB / 1.007 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.02864, allocations: 1.773 MB / 1.008 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/0.02925, allocations: 489.7 kB / 1.009 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.02943, allocations: 197.2 kB / 1.009 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.02945, allocations: 4.281 kB / 1.009 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.02947, allocations: 38.84 kB / 1.009 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=34): time 1.513e-06/0.02947, allocations: 0 / 1.009 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of matching and sorting (n=34): time 0.0006288/0.0301, allocations: 0.6547 MB / 1.01 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.03012, allocations: 55.41 kB / 1.01 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/0.03213, allocations: 2.556 MB / 1.012 GB, free: 2.309 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.03215, allocations: 33.7 kB / 1.012 GB, free: 2.27 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/0.03264, allocations: 0.7646 MB / 1.013 GB, free: 1.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.503e-05/0.03269, allocations: 114.9 kB / 1.013 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.03276, allocations: 77.64 kB / 1.013 GB, free: 1.305 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.03283, allocations: 318 kB / 1.013 GB, free: 0.9883 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.03297, allocations: 135.9 kB / 1.014 GB, free: 0.8555 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.03314, allocations: 200.8 kB / 1.014 GB, free: 0.6484 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.03349, allocations: 329.6 kB / 1.014 GB, free: 332 kB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.03349, allocations: 0 / 1.014 GB, free: 332 kB / 0.9636 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004589/0.03395, allocations: 0.5429 MB / 1.015 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.03396, allocations: 4 kB / 1.015 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.03397, allocations: 4 kB / 1.015 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.03398, allocations: 0 / 1.015 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.03416, allocations: 79.92 kB / 1.015 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.03416, allocations: 0 / 1.015 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.03434, allocations: 31.78 kB / 1.015 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.03436, allocations: 11.98 kB / 1.015 GB, free: 15.64 MB / 0.9792 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.0004958/0.03485, allocations: 0.6848 MB / 1.015 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.03498, allocations: 202.6 kB / 1.016 GB, free: 14.75 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.03517, allocations: 211.2 kB / 1.016 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.03517, allocations: 7.984 kB / 1.016 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.03518, allocations: 4 kB / 1.016 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.03518, allocations: 0 / 1.016 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.03645, allocations: 1.449 MB / 1.017 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.03645, allocations: 0 / 1.017 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.0366, allocations: 75.89 kB / 1.017 GB, free: 12.94 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.0366, allocations: 0 / 1.017 GB, free: 12.94 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.03661, allocations: 8 kB / 1.017 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.03662, allocations: 4 kB / 1.017 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.03662, allocations: 7.875 kB / 1.017 GB, free: 12.92 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004508/0.03707, allocations: 0.6475 MB / 1.018 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003378/0.03741, allocations: 306.5 kB / 1.018 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.715e-05/0.03749, allocations: 16.09 kB / 1.018 GB, free: 11.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.03771, allocations: 11.98 kB / 1.018 GB, free: 11.92 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.03774, allocations: 23.89 kB / 1.018 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.03775, allocations: 12 kB / 1.018 GB, free: 11.88 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001516/0.03927, allocations: 1.827 MB / 1.02 GB, free: 10.04 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.81e-07/0.03927, allocations: 0 / 1.02 GB, free: 10.04 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003753/0.03964, allocations: 235.7 kB / 1.02 GB, free: 9.809 MB / 0.9792 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.0008875/0.04053, allocations: 1.265 MB / 1.022 GB, free: 8.516 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003458/0.04087, allocations: 324.2 kB / 1.022 GB, free: 8.199 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.04088, allocations: 4 kB / 1.022 GB, free: 8.195 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.04101, allocations: 167.7 kB / 1.022 GB, free: 8.031 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.04224, allocations: 0.6257 MB / 1.023 GB, free: 7.422 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.05584, allocations: 14.93 MB / 1.037 GB, free: 8.266 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007458/0.05659, allocations: 1.167 MB / 1.038 GB, free: 7.059 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005216/0.05711, allocations: 315.2 kB / 1.039 GB, free: 6.746 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004731/0.05758, allocations: 0.598 MB / 1.039 GB, free: 6.148 MB / 0.9948 GB Notification: Performance of SimCode: time 7.91e-07/0.05758, allocations: 0 / 1.039 GB, free: 6.148 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3868/0.4444, allocations: 42.98 MB / 1.081 GB, free: 95.39 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.441, allocations: 5.125 kB / 1.081 GB, free: 95.38 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.417654043063521]