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.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.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.001354/0.001354, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001414/0.001414, allocations: 194.2 kB / 16.14 MB, free: 6.691 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.253/1.253, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.097/2.097, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 59.91 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.4754, allocations: 140.4 MB / 0.949 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.005689/0.4812, allocations: 7.186 MB / 0.9561 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005711/0.4869, allocations: 5.469 MB / 0.9614 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.488, allocations: 40.66 kB / 0.9614 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003641/0.4916, allocations: 1.584 MB / 0.963 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.493, allocations: 0.5578 MB / 0.9635 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008103/0.4938, allocations: 332.7 kB / 0.9638 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002475/0.4963, allocations: 3.116 MB / 0.9669 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00055/0.4969, allocations: 0.512 MB / 0.9674 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.498, allocations: 0.9783 MB / 0.9683 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.4994, allocations: 1.57 MB / 0.9699 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002803/0.4997, allocations: 130.1 kB / 0.97 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00059/0.5003, allocations: 241.8 kB / 0.9702 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005175/0.5008, allocations: 0.6239 MB / 0.9708 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009829/0.5018, allocations: 1.136 MB / 0.972 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002194/0.504, allocations: 3.235 MB / 0.9751 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.504, allocations: 1.25 kB / 0.9751 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.62e-07/0.504, allocations: 0 / 0.9751 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.39e-05/0.5041, allocations: 4 kB / 0.9751 GB, free: 6.594 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.00542/0.5095, allocations: 3.368 MB / 0.9784 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.5095, allocations: 8.031 kB / 0.9784 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.879e-05/0.5096, allocations: 90.64 kB / 0.9785 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003353/0.51, allocations: 245.9 kB / 0.9787 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/0.5123, allocations: 1.878 MB / 0.9806 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.898e-05/0.5124, allocations: 61 kB / 0.9806 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.5126, allocations: 88 kB / 0.9807 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009278/0.5135, allocations: 0.713 MB / 0.9814 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.5135, allocations: 0 / 0.9814 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.5136, allocations: 20 kB / 0.9814 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.5136, allocations: 12 kB / 0.9814 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.5149, allocations: 0.9758 MB / 0.9824 GB, free: 15.72 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.008401/0.5233, allocations: 4.53 MB / 0.9868 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.5244, allocations: 0.7812 MB / 0.9876 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005533/0.525, allocations: 0.5005 MB / 0.9881 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.525, allocations: 4.719 kB / 0.9881 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.525, allocations: 38.5 kB / 0.9881 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=44): time 1.603e-06/0.525, allocations: 3.938 kB / 0.9881 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of matching and sorting (n=44): time 0.008317/0.5334, allocations: 3.476 MB / 0.9915 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.5334, allocations: 63.3 kB / 0.9916 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002983/0.5364, allocations: 2.968 MB / 0.9945 GB, free: 3.133 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.5366, allocations: 53.7 kB / 0.9945 GB, free: 3.074 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007389/0.5373, allocations: 0.863 MB / 0.9954 GB, free: 2.203 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.5374, allocations: 157.7 kB / 0.9955 GB, free: 2.047 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005441/0.538, allocations: 331.5 kB / 0.9958 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.5381, allocations: 365.9 kB / 0.9962 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.5398, allocations: 1.37 MB / 0.9975 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/0.5417, allocations: 1.62 MB / 0.9991 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/0.5439, allocations: 1.926 MB / 1.001 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5439, allocations: 0 / 1.001 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.005995/0.5499, allocations: 4.082 MB / 1.005 GB, free: 8.316 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.55, allocations: 8 kB / 1.005 GB, free: 8.309 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.55, allocations: 4 kB / 1.005 GB, free: 8.305 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002766/0.5528, allocations: 1.105 MB / 1.006 GB, free: 7.195 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.5538, allocations: 227.7 kB / 1.006 GB, free: 6.973 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009467/0.5632, allocations: 7.284 MB / 1.013 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.5648, allocations: 266 kB / 1.014 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.565, allocations: 44 kB / 1.014 GB, free: 15.24 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.0009996/0.566, allocations: 0.794 MB / 1.014 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.5662, allocations: 217.1 kB / 1.015 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.5665, allocations: 258.7 kB / 1.015 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5666, allocations: 4 kB / 1.015 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/0.5666, allocations: 8 kB / 1.015 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5666, allocations: 96 / 1.015 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.5678, allocations: 1.248 MB / 1.016 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5678, allocations: 3.938 kB / 1.016 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.332e-05/0.5678, allocations: 4 kB / 1.016 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002612/0.5704, allocations: 1.023 MB / 1.017 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/0.5705, allocations: 8 kB / 1.017 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009293/0.5798, allocations: 7.251 MB / 1.024 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.5798, allocations: 0 / 1.024 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003126/0.5829, allocations: 1.962 MB / 1.026 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005656/0.5835, allocations: 446 kB / 1.027 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.5837, allocations: 4 kB / 1.027 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005383/0.5842, allocations: 43.8 kB / 1.027 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.5844, allocations: 43.88 kB / 1.027 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.5844, allocations: 12 kB / 1.027 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002255/0.5867, allocations: 2.052 MB / 1.029 GB, free: 15.61 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5867, allocations: 0 / 1.029 GB, free: 15.61 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001377/0.5881, allocations: 0.6171 MB / 1.029 GB, free: 14.99 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.003538/0.5916, allocations: 2.572 MB / 1.032 GB, free: 12.39 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004127/0.5957, allocations: 2.807 MB / 1.035 GB, free: 9.578 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5957, allocations: 4 kB / 1.035 GB, free: 9.574 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001883/0.5976, allocations: 1.032 MB / 1.036 GB, free: 8.531 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/0.5998, allocations: 0.6281 MB / 1.036 GB, free: 7.906 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.038/0.6378, allocations: 28.25 MB / 1.064 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/0.6391, allocations: 1.919 MB / 1.066 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0007922/0.6399, allocations: 329.6 kB / 1.066 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008215/0.6407, allocations: 0.7063 MB / 1.067 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.6407, allocations: 0 / 1.067 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.429/2.07, allocations: 60.06 MB / 1.125 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002656/2.07, allocations: 308.7 kB / 1.126 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.862/4.932, allocations: 0 / 1.126 GB, free: 11.49 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