Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_latest_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.007019/0.007019, allocations: 96.09 kB / 15.73 MB, free: 6.043 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.001598/0.001598, allocations: 200.6 kB / 16.68 MB, free: 5.969 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.644/2.644, allocations: 469.4 MB / 0.7422 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001434, allocations: 59.91 kB / 1.064 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2938, allocations: 159.1 MB / 1.22 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.008622/0.3025, allocations: 7.848 MB / 1.228 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007717/0.3102, allocations: 5.39 MB / 1.233 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.3118, allocations: 59.75 kB / 1.233 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004941/0.3168, allocations: 1.71 MB / 1.235 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.319, allocations: 0.6669 MB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.3203, allocations: 303.4 kB / 1.235 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003096/0.3234, allocations: 2.044 MB / 1.237 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.3246, allocations: 0.6996 MB / 1.238 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.3259, allocations: 0.7816 MB / 1.239 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.3274, allocations: 0.8669 MB / 1.24 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000437/0.3278, allocations: 95.94 kB / 1.24 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008034/0.3286, allocations: 215.8 kB / 1.24 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005198/0.3292, allocations: 370.5 kB / 1.24 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001357/0.3305, allocations: 0.87 MB / 1.241 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003552/0.3341, allocations: 2.638 MB / 1.244 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3341, allocations: 4 kB / 1.244 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3342, allocations: 0 / 1.244 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.661e-05/0.3342, allocations: 0 / 1.244 GB, free: 5.867 MB / 0.9981 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.004483/0.3387, allocations: 2.471 MB / 1.246 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.3388, allocations: 12.02 kB / 1.246 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001533/0.339, allocations: 90.72 kB / 1.246 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004182/0.3394, allocations: 223.5 kB / 1.247 GB, free: 3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003368/0.3428, allocations: 1.741 MB / 1.248 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.138e-05/0.3428, allocations: 37 kB / 1.248 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.343, allocations: 52 kB / 1.248 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009207/0.3439, allocations: 0.5529 MB / 1.249 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3439, allocations: 3.938 kB / 1.249 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.603e-05/0.344, allocations: 24 kB / 1.249 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.344, allocations: 12 kB / 1.249 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000723/0.3447, allocations: 0.4995 MB / 1.249 GB, free: 8 kB / 0.9981 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.5951/0.9398, allocations: 3.225 MB / 1.253 GB, free: 28.36 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.94, allocations: 62.16 kB / 1.253 GB, free: 28.33 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.144e-05/0.94, allocations: 44.41 kB / 1.253 GB, free: 28.32 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.94, allocations: 0.75 kB / 1.253 GB, free: 28.32 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.9401, allocations: 36.06 kB / 1.253 GB, free: 28.29 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 2.344e-06/0.9401, allocations: 0.6875 kB / 1.253 GB, free: 28.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0005991/0.9407, allocations: 369.7 kB / 1.253 GB, free: 28.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.9407, allocations: 52.22 kB / 1.253 GB, free: 28.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003565/0.9443, allocations: 2.937 MB / 1.256 GB, free: 27.88 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.9443, allocations: 29.39 kB / 1.256 GB, free: 27.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007016/0.945, allocations: 0.9464 MB / 1.257 GB, free: 27.66 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.945, allocations: 12.66 kB / 1.257 GB, free: 27.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.9452, allocations: 115.3 kB / 1.257 GB, free: 27.63 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.182e-05/0.9453, allocations: 327.2 kB / 1.257 GB, free: 27.32 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.9455, allocations: 151.5 kB / 1.257 GB, free: 27.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.9458, allocations: 476.3 kB / 1.258 GB, free: 26.93 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004532/0.9462, allocations: 0.6 MB / 1.259 GB, free: 26.51 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.9463, allocations: 3.453 kB / 1.259 GB, free: 26.51 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009459/0.9472, allocations: 0.7736 MB / 1.259 GB, free: 26.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.9472, allocations: 11.69 kB / 1.259 GB, free: 26.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.9473, allocations: 9.094 kB / 1.259 GB, free: 26.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.9473, allocations: 13.88 kB / 1.259 GB, free: 26.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.9476, allocations: 104.3 kB / 1.259 GB, free: 26.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/0.9476, allocations: 27.83 kB / 1.259 GB, free: 26.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006684/0.9483, allocations: 97.72 kB / 1.26 GB, free: 26.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.9483, allocations: 27.5 kB / 1.26 GB, free: 26.25 MB / 0.9981 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.0007728/0.9491, allocations: 0.733 MB / 1.26 GB, free: 26.13 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.9493, allocations: 220 kB / 1.26 GB, free: 26.01 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.9496, allocations: 223.2 kB / 1.261 GB, free: 25.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.9496, allocations: 1.5 kB / 1.261 GB, free: 25.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.9496, allocations: 0.7031 kB / 1.261 GB, free: 25.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.9496, allocations: 3.938 kB / 1.261 GB, free: 25.98 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.9507, allocations: 0.9393 MB / 1.262 GB, free: 25.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.9507, allocations: 1.062 kB / 1.262 GB, free: 25.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.352e-05/0.9507, allocations: 0 / 1.262 GB, free: 25.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.9508, allocations: 7 kB / 1.262 GB, free: 25.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.9508, allocations: 0 / 1.262 GB, free: 25.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.9508, allocations: 0.75 kB / 1.262 GB, free: 25.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.9508, allocations: 3.938 kB / 1.262 GB, free: 25.77 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.9511, allocations: 429.5 kB / 1.262 GB, free: 25.51 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004918/0.9516, allocations: 375.1 kB / 1.262 GB, free: 25.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.9518, allocations: 0.5 kB / 1.262 GB, free: 25.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.9521, allocations: 8.703 kB / 1.262 GB, free: 25.29 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.9521, allocations: 4.641 kB / 1.262 GB, free: 25.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.9522, allocations: 1.125 kB / 1.262 GB, free: 25.29 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002569/0.9547, allocations: 2.066 MB / 1.264 GB, free: 25.14 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9547, allocations: 0 / 1.264 GB, free: 25.14 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009086/0.9557, allocations: 238.4 kB / 1.265 GB, free: 25.14 MB / 0.9981 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.0008877/0.9566, allocations: 1.036 MB / 1.266 GB, free: 24.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005496/0.9571, allocations: 308.2 kB / 1.266 GB, free: 24.33 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.9571, allocations: 2.969 kB / 1.266 GB, free: 24.33 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.282e-05/0.9572, allocations: 44.64 kB / 1.266 GB, free: 24.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/0.9596, allocations: 0.7238 MB / 1.267 GB, free: 24.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/0.9815, allocations: 16.3 MB / 1.283 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001361/0.9829, allocations: 1.801 MB / 1.284 GB, free: 16.54 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001005/0.9839, allocations: 307.2 kB / 1.285 GB, free: 16.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006412/0.9845, allocations: 0.6837 MB / 1.285 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of SimCode: time 1.132e-06/0.9845, allocations: 0 / 1.285 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07663/1.061, allocations: 44.03 MB / 1.328 GB, free: 14.17 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.85, allocations: 3.938 kB / 1.328 GB, free: 14.17 MB / 1.014 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches