Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.InfraredRadiationExchange,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",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.001095/0.001095, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 195 kB / 16.53 MB, free: 6.664 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.183/2.183, allocations: 390.3 MB / 0.6647 GB, free: 488 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.91 kB / 0.8127 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5752/0.5764, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.005726/0.5822, allocations: 7.219 MB / 0.9568 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005589/0.5878, allocations: 5.539 MB / 0.9622 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006088/0.5884, allocations: 38.75 kB / 0.9622 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00341/0.5918, allocations: 1.699 MB / 0.9639 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.5929, allocations: 0.6204 MB / 0.9645 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00087/0.5938, allocations: 384.4 kB / 0.9649 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002447/0.5963, allocations: 2.923 MB / 0.9677 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006482/0.5969, allocations: 0.5447 MB / 0.9682 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.5982, allocations: 1.074 MB / 0.9693 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.5999, allocations: 1.621 MB / 0.9709 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003455/0.6002, allocations: 197.2 kB / 0.9711 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006645/0.6009, allocations: 325.1 kB / 0.9714 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006126/0.6015, allocations: 0.6929 MB / 0.972 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.6027, allocations: 1.216 MB / 0.9732 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002867/0.6056, allocations: 3.438 MB / 0.9766 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6056, allocations: 0 / 0.9766 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6056, allocations: 1.375 kB / 0.9766 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.67e-05/0.6056, allocations: 0 / 0.9766 GB, free: 5.859 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.006214/0.6119, allocations: 3.402 MB / 0.9799 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.6119, allocations: 12.03 kB / 0.9799 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.612, allocations: 86.7 kB / 0.98 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003531/0.6124, allocations: 241.9 kB / 0.9802 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002625/0.615, allocations: 1.89 MB / 0.9821 GB, free: 496 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.667e-05/0.6151, allocations: 65 kB / 0.9821 GB, free: 432 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.6153, allocations: 88 kB / 0.9822 GB, free: 344 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.6163, allocations: 0.7129 MB / 0.9829 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.6163, allocations: 0 / 0.9829 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.6164, allocations: 20 kB / 0.9829 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.6164, allocations: 11.94 kB / 0.983 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.6177, allocations: 0.9836 MB / 0.9839 GB, free: 14.6 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009454/0.6272, allocations: 4.522 MB / 0.9883 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.6284, allocations: 0.7877 MB / 0.9891 GB, free: 9.133 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005778/0.629, allocations: 0.4966 MB / 0.9896 GB, free: 8.633 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.629, allocations: 4.719 kB / 0.9896 GB, free: 8.629 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.629, allocations: 38.5 kB / 0.9896 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=44): time 1.643e-06/0.629, allocations: 7.938 kB / 0.9896 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of matching and sorting (n=44): time 0.00889/0.6379, allocations: 3.474 MB / 0.993 GB, free: 5.066 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.638, allocations: 63.3 kB / 0.9931 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003281/0.6413, allocations: 2.968 MB / 0.996 GB, free: 2.012 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.6414, allocations: 49.7 kB / 0.996 GB, free: 1.957 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000806/0.6423, allocations: 0.8591 MB / 0.9969 GB, free: 1.09 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.6424, allocations: 161.7 kB / 0.997 GB, free: 0.9297 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005473/0.643, allocations: 331.5 kB / 0.9973 GB, free: 0.6016 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.6431, allocations: 365.9 kB / 0.9977 GB, free: 244 kB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/0.6449, allocations: 1.374 MB / 0.999 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/0.6469, allocations: 1.62 MB / 1.001 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002449/0.6493, allocations: 1.915 MB / 1.002 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.188e-06/0.6493, allocations: 7.984 kB / 1.002 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006545/0.6559, allocations: 4.09 MB / 1.006 GB, free: 7.199 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.6559, allocations: 8 kB / 1.006 GB, free: 7.191 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.6559, allocations: 0 / 1.006 GB, free: 7.191 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002909/0.6588, allocations: 1.109 MB / 1.008 GB, free: 6.078 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.66, allocations: 223.7 kB / 1.008 GB, free: 5.859 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.6711, allocations: 7.965 MB / 1.016 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/0.6732, allocations: 262 kB / 1.016 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.6734, allocations: 40 kB / 1.016 GB, free: 13.45 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(11,31,46.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001386/0.6748, allocations: 0.8056 MB / 1.017 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.675, allocations: 209.3 kB / 1.017 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.6754, allocations: 262.6 kB / 1.017 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.6754, allocations: 7.938 kB / 1.017 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.46e-05/0.6755, allocations: 8 kB / 1.017 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.6755, allocations: 0 / 1.017 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.6768, allocations: 1.236 MB / 1.018 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6769, allocations: 0 / 1.018 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.6769, allocations: 8 kB / 1.018 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002759/0.6797, allocations: 1.031 MB / 1.019 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/0.6797, allocations: 8 kB / 1.019 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/0.6906, allocations: 7.936 MB / 1.027 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.6906, allocations: 0 / 1.027 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0035/0.6941, allocations: 1.957 MB / 1.029 GB, free: 15.74 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006135/0.6948, allocations: 446 kB / 1.029 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.695, allocations: 11.98 kB / 1.029 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005868/0.6956, allocations: 31.81 kB / 1.029 GB, free: 15.24 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.6957, allocations: 39.88 kB / 1.03 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.6957, allocations: 12 kB / 1.03 GB, free: 15.19 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002688/0.6984, allocations: 2.052 MB / 1.032 GB, free: 13.13 MB / 0.795 GB Notification: Performance of sort global known variables: time 2e-07/0.6984, allocations: 4 kB / 1.032 GB, free: 13.13 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001821/0.7002, allocations: 0.6131 MB / 1.032 GB, free: 12.52 MB / 0.795 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(13,29,43.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004166/0.7044, allocations: 2.557 MB / 1.035 GB, free: 9.934 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004714/0.7091, allocations: 2.819 MB / 1.037 GB, free: 7.102 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.7092, allocations: 0 / 1.037 GB, free: 7.102 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002143/0.7113, allocations: 1.04 MB / 1.038 GB, free: 6.051 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/0.7136, allocations: 0.679 MB / 1.039 GB, free: 5.387 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03598/0.7496, allocations: 27.9 MB / 1.066 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/0.7512, allocations: 1.907 MB / 1.068 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0008551/0.7521, allocations: 329.6 kB / 1.068 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009059/0.753, allocations: 0.7063 MB / 1.069 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of SimCode: time 7.41e-07/0.753, allocations: 0 / 1.069 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3608/1.114, allocations: 61.6 MB / 1.129 GB, free: 8.199 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/11.49, allocations: 23.36 kB / 1.129 GB, free: 8.18 MB / 0.8887 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches