Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",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.001279/0.001279, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001469/0.001469, allocations: 194.9 kB / 16.14 MB, free: 6.711 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.204/1.204, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.167/2.167, allocations: 390.2 MB / 0.6643 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5844/0.5858, allocations: 140.4 MB / 0.9491 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006535/0.5924, allocations: 7.286 MB / 0.9562 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006099/0.5985, allocations: 5.123 MB / 0.9612 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.5996, allocations: 39.91 kB / 0.9612 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004194/0.6038, allocations: 1.579 MB / 0.9627 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.6053, allocations: 0.5213 MB / 0.9633 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006884/0.606, allocations: 202.5 kB / 0.9635 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002108/0.6082, allocations: 1.963 MB / 0.9654 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006741/0.6089, allocations: 0.5571 MB / 0.9659 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009962/0.6099, allocations: 0.6383 MB / 0.9665 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009837/0.6109, allocations: 0.8118 MB / 0.9673 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.6111, allocations: 68.78 kB / 0.9674 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005409/0.6116, allocations: 179.1 kB / 0.9676 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003174/0.6119, allocations: 318.1 kB / 0.9679 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007627/0.6127, allocations: 0.7796 MB / 0.9686 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.6145, allocations: 2.05 MB / 0.9706 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6145, allocations: 5.031 kB / 0.9706 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6145, allocations: 0 / 0.9706 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.547e-05/0.6145, allocations: 0 / 0.9706 GB, free: 9.148 MB / 0.7325 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.003117/0.6177, allocations: 2.161 MB / 0.9727 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.6177, allocations: 9.75 kB / 0.9728 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.11e-05/0.6178, allocations: 73.22 kB / 0.9728 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002971/0.6181, allocations: 199.2 kB / 0.973 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.6204, allocations: 1.565 MB / 0.9745 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.6205, allocations: 24.12 kB / 0.9746 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/0.6206, allocations: 40.55 kB / 0.9746 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007141/0.6213, allocations: 452.5 kB / 0.975 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.6213, allocations: 3.984 kB / 0.975 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.6213, allocations: 11.84 kB / 0.9751 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-05/0.6214, allocations: 29.7 kB / 0.9751 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006262/0.622, allocations: 422.1 kB / 0.9755 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003142/0.6252, allocations: 2.335 MB / 0.9778 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009707/0.6262, allocations: 0.5016 MB / 0.9783 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.6264, allocations: 203.8 kB / 0.9784 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.6265, allocations: 8.219 kB / 0.9785 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.6265, allocations: 30.84 kB / 0.9785 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/0.6265, allocations: 0 / 0.9785 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.0009717/0.6275, allocations: 0.6422 MB / 0.9791 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.6275, allocations: 55.41 kB / 0.9792 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003028/0.6306, allocations: 2.583 MB / 0.9817 GB, free: 208 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.6306, allocations: 33.7 kB / 0.9817 GB, free: 168 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006914/0.6313, allocations: 0.7606 MB / 0.9825 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.733e-05/0.6314, allocations: 114.3 kB / 0.9826 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.6315, allocations: 69.61 kB / 0.9826 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.6316, allocations: 322.5 kB / 0.9829 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.6318, allocations: 135.9 kB / 0.9831 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.6321, allocations: 185.4 kB / 0.9833 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/0.6325, allocations: 318.5 kB / 0.9836 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6325, allocations: 0 / 0.9836 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006724/0.6332, allocations: 0.53 MB / 0.9841 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.6332, allocations: 8 kB / 0.9841 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6332, allocations: 0 / 0.9841 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.6332, allocations: 0 / 0.9841 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.6336, allocations: 79.89 kB / 0.9842 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.6336, allocations: 4 kB / 0.9842 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004782/0.6341, allocations: 31.72 kB / 0.9842 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.6341, allocations: 7.938 kB / 0.9842 GB, free: 13.59 MB / 0.7481 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.0007151/0.6348, allocations: 0.6925 MB / 0.9849 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.635, allocations: 189.6 kB / 0.9851 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.6353, allocations: 215.2 kB / 0.9853 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.6353, allocations: 4 kB / 0.9853 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6353, allocations: 0 / 0.9853 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.6353, allocations: 4 kB / 0.9853 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.6372, allocations: 1.582 MB / 0.9868 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.6373, allocations: 4 kB / 0.9868 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.6376, allocations: 75.89 kB / 0.9869 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.6376, allocations: 4 kB / 0.9869 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.6376, allocations: 12 kB / 0.9869 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.6376, allocations: 3.938 kB / 0.9869 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.6376, allocations: 3.938 kB / 0.9869 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006638/0.6383, allocations: 0.6432 MB / 0.9875 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004853/0.6388, allocations: 378.5 kB / 0.9879 GB, free: 9.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.6389, allocations: 4 kB / 0.9879 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/0.6393, allocations: 11.98 kB / 0.9879 GB, free: 9.645 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.6394, allocations: 23.92 kB / 0.9879 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.6394, allocations: 11.98 kB / 0.9879 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002179/0.6416, allocations: 1.847 MB / 0.9898 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6416, allocations: 0 / 0.9898 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006589/0.6423, allocations: 231.7 kB / 0.99 GB, free: 7.52 MB / 0.7481 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.001189/0.6435, allocations: 1.263 MB / 0.9912 GB, free: 6.227 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004877/0.644, allocations: 327.6 kB / 0.9915 GB, free: 5.906 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.644, allocations: 0 / 0.9915 GB, free: 5.906 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.6442, allocations: 171.8 kB / 0.9917 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/0.6464, allocations: 0.5763 MB / 0.9922 GB, free: 5.164 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02332/0.6697, allocations: 16.85 MB / 1.009 GB, free: 3.473 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/0.671, allocations: 1.758 MB / 1.01 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008439/0.6719, allocations: 315 kB / 1.011 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006792/0.6726, allocations: 0.5852 MB / 1.011 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of SimCode: time 8.31e-07/0.6726, allocations: 0 / 1.011 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4175/1.09, allocations: 38.42 MB / 1.049 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003847/1.091, allocations: 287.6 kB / 1.049 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/3.533, allocations: 0 / 1.049 GB, free: 10.53 MB / 0.8106 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches