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.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.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.0009542/0.0009545, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004855/0.004855, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.187/1.187, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.078/2.078, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003185, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5415/0.5418, allocations: 142.4 MB / 0.9552 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.005455/0.5473, allocations: 7.36 MB / 0.9624 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005663/0.553, allocations: 5.241 MB / 0.9675 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005521/0.5536, allocations: 32.41 kB / 0.9675 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003268/0.5568, allocations: 1.609 MB / 0.9691 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.5579, allocations: 0.5815 MB / 0.9697 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006332/0.5585, allocations: 262.6 kB / 0.9699 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00207/0.5606, allocations: 2.333 MB / 0.9722 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007209/0.5614, allocations: 0.6424 MB / 0.9728 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007815/0.5622, allocations: 0.6863 MB / 0.9735 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008997/0.5631, allocations: 0.853 MB / 0.9743 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.5632, allocations: 73.84 kB / 0.9744 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004101/0.5636, allocations: 188.3 kB / 0.9746 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002762/0.5639, allocations: 332.3 kB / 0.9749 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000682/0.5646, allocations: 0.8655 MB / 0.9757 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.5663, allocations: 2.198 MB / 0.9779 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5663, allocations: 1.344 kB / 0.9779 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5663, allocations: 4 kB / 0.9779 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.778e-05/0.5663, allocations: 0 / 0.9779 GB, free: 6.957 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.002404/0.5687, allocations: 2.019 MB / 0.9798 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.5688, allocations: 9.688 kB / 0.9799 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.034e-05/0.5689, allocations: 93.11 kB / 0.9799 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/0.5691, allocations: 211.9 kB / 0.9801 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.5711, allocations: 1.6 MB / 0.9817 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.5711, allocations: 37 kB / 0.9817 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.092e-05/0.5712, allocations: 52 kB / 0.9818 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007668/0.572, allocations: 0.5569 MB / 0.9823 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.572, allocations: 0 / 0.9823 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.27e-05/0.572, allocations: 23.98 kB / 0.9824 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.572, allocations: 12 kB / 0.9824 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006652/0.5727, allocations: 0.4957 MB / 0.9829 GB, free: 2.73 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.003563/0.5763, allocations: 3.294 MB / 0.9861 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 7.723e-05/0.5764, allocations: 58.53 kB / 0.9861 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.837e-05/0.5764, allocations: 52.88 kB / 0.9862 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.5765, allocations: 0 / 0.9862 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.5765, allocations: 34.5 kB / 0.9862 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.5765, allocations: 0 / 0.9862 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=1): time 0.0004241/0.5769, allocations: 355 kB / 0.9865 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.5769, allocations: 51.41 kB / 0.9866 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003132/0.5801, allocations: 2.954 MB / 0.9895 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.5801, allocations: 33.7 kB / 0.9895 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007413/0.5809, allocations: 0.9387 MB / 0.9904 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.5809, allocations: 11.91 kB / 0.9904 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.5809, allocations: 49.69 kB / 0.9905 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.581, allocations: 329.8 kB / 0.9908 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.5813, allocations: 157 kB / 0.991 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/0.5816, allocations: 473.2 kB / 0.9914 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005417/0.5822, allocations: 0.602 MB / 0.992 GB, free: 8.742 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.5822, allocations: 4 kB / 0.992 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008846/0.5831, allocations: 0.761 MB / 0.9927 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.5831, allocations: 8 kB / 0.9927 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.5831, allocations: 12 kB / 0.9928 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.5832, allocations: 12 kB / 0.9928 GB, free: 7.938 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.5834, allocations: 107.8 kB / 0.9929 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/0.5835, allocations: 19.92 kB / 0.9929 GB, free: 7.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005275/0.584, allocations: 95 kB / 0.993 GB, free: 7.719 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.584, allocations: 28 kB / 0.993 GB, free: 7.691 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.00067/0.5847, allocations: 0.7392 MB / 0.9937 GB, free: 6.941 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.5849, allocations: 201.4 kB / 0.9939 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.5852, allocations: 231.7 kB / 0.9941 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.5852, allocations: 0 / 0.9941 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5852, allocations: 0 / 0.9941 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.5852, allocations: 4 kB / 0.9941 GB, free: 6.508 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009038/0.5861, allocations: 0.947 MB / 0.9951 GB, free: 5.512 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5861, allocations: 3.938 kB / 0.9951 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.514e-05/0.5862, allocations: 11.98 kB / 0.9951 GB, free: 5.496 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.5862, allocations: 0 / 0.9951 GB, free: 5.496 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.5862, allocations: 0 / 0.9951 GB, free: 5.496 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5862, allocations: 0 / 0.9951 GB, free: 5.496 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5862, allocations: 4 kB / 0.9951 GB, free: 5.492 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.5865, allocations: 421.1 kB / 0.9955 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004148/0.587, allocations: 366.4 kB / 0.9958 GB, free: 4.684 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.5871, allocations: 0 / 0.9958 GB, free: 4.684 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.5875, allocations: 0 / 0.9958 GB, free: 4.684 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.891e-05/0.5875, allocations: 3.984 kB / 0.9958 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.5875, allocations: 0 / 0.9958 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002258/0.5898, allocations: 2.082 MB / 0.9979 GB, free: 2.59 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5898, allocations: 0 / 0.9979 GB, free: 2.59 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006586/0.5904, allocations: 243.9 kB / 0.9981 GB, free: 2.352 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.0007638/0.5912, allocations: 1.021 MB / 0.9991 GB, free: 1.309 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004046/0.5916, allocations: 309.9 kB / 0.9994 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5916, allocations: 0 / 0.9994 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 5.813e-05/0.5917, allocations: 47.95 kB / 0.9995 GB, free: 0.9609 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/0.594, allocations: 0.6589 MB / 1 GB, free: 316 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02322/0.6172, allocations: 18.73 MB / 1.018 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.6184, allocations: 1.808 MB / 1.02 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007645/0.6192, allocations: 293.3 kB / 1.02 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006684/0.6199, allocations: 0.6789 MB / 1.021 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.6199, allocations: 0 / 1.021 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.782/2.402, allocations: 42.09 MB / 1.062 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/2.403, allocations: 270.7 kB / 1.062 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.056/6.458, allocations: 2.188 kB / 1.062 GB, free: 15.63 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