Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.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.RadiationTemperature,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",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.001201/0.001201, 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.001144/0.001144, allocations: 194.7 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.232/1.232, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.112/2.112, allocations: 390.3 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.89 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4995/0.5007, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.006295/0.507, allocations: 7.856 MB / 0.9574 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00583/0.5128, allocations: 5.375 MB / 0.9626 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007175/0.5136, allocations: 45.56 kB / 0.9627 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003667/0.5173, allocations: 1.718 MB / 0.9644 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.5186, allocations: 0.6529 MB / 0.965 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007853/0.5194, allocations: 303.8 kB / 0.9653 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001795/0.5212, allocations: 2.029 MB / 0.9673 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007885/0.522, allocations: 0.6972 MB / 0.968 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008656/0.5229, allocations: 0.7611 MB / 0.9687 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009044/0.5238, allocations: 0.8765 MB / 0.9695 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.524, allocations: 99.5 kB / 0.9696 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004669/0.5245, allocations: 212.6 kB / 0.9698 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000312/0.5248, allocations: 372.5 kB / 0.9702 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007291/0.5255, allocations: 0.8725 MB / 0.9711 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.5275, allocations: 2.399 MB / 0.9734 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5275, allocations: 0 / 0.9734 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5275, allocations: 0 / 0.9734 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.296e-05/0.5275, allocations: 0 / 0.9734 GB, free: 7.633 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002942/0.5305, allocations: 2.351 MB / 0.9757 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.5305, allocations: 8.406 kB / 0.9757 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.177e-05/0.5306, allocations: 93.83 kB / 0.9758 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.5309, allocations: 215 kB / 0.976 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.533, allocations: 1.608 MB / 0.9776 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.533, allocations: 42.19 kB / 0.9776 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.577e-05/0.5331, allocations: 49.72 kB / 0.9777 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007629/0.5339, allocations: 0.5526 MB / 0.9782 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.5339, allocations: 0 / 0.9782 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/0.5339, allocations: 24.17 kB / 0.9782 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.5339, allocations: 14.84 kB / 0.9782 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006676/0.5346, allocations: 0.4982 MB / 0.9787 GB, free: 3.914 MB / 0.7325 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.003625/0.5382, allocations: 3.262 MB / 0.9819 GB, free: 412 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.013e-05/0.5383, allocations: 58.53 kB / 0.982 GB, free: 344 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.837e-05/0.5384, allocations: 52.81 kB / 0.982 GB, free: 288 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.5384, allocations: 4 kB / 0.982 GB, free: 284 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.5384, allocations: 30.56 kB / 0.982 GB, free: 244 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 2.374e-06/0.5384, allocations: 3.984 kB / 0.982 GB, free: 240 kB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0004552/0.5389, allocations: 359.1 kB / 0.9824 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.5389, allocations: 59.33 kB / 0.9824 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003121/0.5421, allocations: 2.951 MB / 0.9853 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.5421, allocations: 25.7 kB / 0.9854 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007537/0.5429, allocations: 0.9386 MB / 0.9863 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.5429, allocations: 8 kB / 0.9863 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.543, allocations: 118 kB / 0.9864 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.5431, allocations: 338 kB / 0.9867 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.5433, allocations: 160.9 kB / 0.9869 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.5437, allocations: 461.3 kB / 0.9873 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005436/0.5442, allocations: 0.602 MB / 0.9879 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.5443, allocations: 4 kB / 0.9879 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009022/0.5452, allocations: 0.7564 MB / 0.9886 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.5452, allocations: 12 kB / 0.9886 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.5452, allocations: 8 kB / 0.9887 GB, free: 9.098 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.5452, allocations: 16.78 kB / 0.9887 GB, free: 9.082 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.5455, allocations: 107.8 kB / 0.9888 GB, free: 8.977 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/0.5456, allocations: 23.94 kB / 0.9888 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005345/0.5461, allocations: 94.89 kB / 0.9889 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.5461, allocations: 28 kB / 0.9889 GB, free: 8.832 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (58): * Single equations (assignments): 58 * 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.0006711/0.5468, allocations: 0.7391 MB / 0.9896 GB, free: 8.082 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.547, allocations: 205.4 kB / 0.9898 GB, free: 7.879 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.5473, allocations: 223.8 kB / 0.99 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.5473, allocations: 0 / 0.99 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5473, allocations: 0 / 0.99 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.5473, allocations: 0 / 0.99 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009006/0.5482, allocations: 0.9509 MB / 0.991 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.5482, allocations: 4 kB / 0.991 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.972e-05/0.5482, allocations: 0 / 0.991 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5483, allocations: 0 / 0.991 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.5483, allocations: 0 / 0.991 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5483, allocations: 0 / 0.991 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5483, allocations: 4 kB / 0.991 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.5486, allocations: 421.1 kB / 0.9914 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004314/0.5491, allocations: 362.4 kB / 0.9917 GB, free: 5.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.5492, allocations: 7.984 kB / 0.9917 GB, free: 5.832 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.5496, allocations: 0 / 0.9917 GB, free: 5.832 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.5496, allocations: 3.938 kB / 0.9917 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.5496, allocations: 0 / 0.9917 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002258/0.5519, allocations: 2.086 MB / 0.9938 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5519, allocations: 0 / 0.9938 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006901/0.5526, allocations: 247.8 kB / 0.994 GB, free: 3.492 MB / 0.7481 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 (1): * Single equations (assignments): 1 * 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.0007869/0.5534, allocations: 1.009 MB / 0.995 GB, free: 2.461 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000402/0.5538, allocations: 306.4 kB / 0.9953 GB, free: 2.164 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5538, allocations: 7.938 kB / 0.9953 GB, free: 2.156 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 5.819e-05/0.5538, allocations: 47.89 kB / 0.9953 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.556, allocations: 0.7175 MB / 0.996 GB, free: 1.41 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/0.5748, allocations: 18.39 MB / 1.014 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.5761, allocations: 1.804 MB / 1.016 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007509/0.5769, allocations: 301.3 kB / 1.016 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000682/0.5776, allocations: 0.6789 MB / 1.017 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of SimCode: time 5.11e-07/0.5776, allocations: 0 / 1.017 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4244/1.002, allocations: 43.53 MB / 1.059 GB, free: 4 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/9.114, allocations: 13.59 kB / 1.059 GB, free: 15.99 MB / 0.8262 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches