Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer",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.001099/0.001099, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008524/0.008524, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.304/1.304, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.381/2.381, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002914, allocations: 12 kB / 0.8729 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4993/0.4996, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer): time 0.004019/0.5036, allocations: 4.074 MB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003349/0.507, allocations: 2.944 MB / 1.03 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.5073, allocations: 15.94 kB / 1.03 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.5088, allocations: 0.8582 MB / 1.031 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005197/0.5093, allocations: 322.1 kB / 1.031 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.5096, allocations: 175.8 kB / 1.031 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008861/0.5105, allocations: 1.145 MB / 1.032 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003916/0.5109, allocations: 337.9 kB / 1.033 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003188/0.5112, allocations: 290.4 kB / 1.033 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.5117, allocations: 401.8 kB / 1.033 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.5117, allocations: 16 kB / 1.033 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.5119, allocations: 47.97 kB / 1.033 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.512, allocations: 131.2 kB / 1.034 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002616/0.5123, allocations: 407.2 kB / 1.034 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006105/0.5129, allocations: 0.8908 MB / 1.035 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.5129, allocations: 0 / 1.035 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5129, allocations: 4 kB / 1.035 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.5129, allocations: 0 / 1.035 GB, free: 3.777 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001268/0.5142, allocations: 1.059 MB / 1.036 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.5142, allocations: 12.02 kB / 1.036 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.595e-05/0.5143, allocations: 82.66 kB / 1.036 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008683/0.5152, allocations: 235.5 kB / 1.036 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007009/0.5159, allocations: 0.6751 MB / 1.037 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.5159, allocations: 33.38 kB / 1.037 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.364e-05/0.516, allocations: 43.94 kB / 1.037 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008228/0.5168, allocations: 482.1 kB / 1.037 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.5168, allocations: 0 / 1.037 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.5169, allocations: 20 kB / 1.037 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.5169, allocations: 12 kB / 1.037 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008708/0.5178, allocations: 407.7 kB / 1.038 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.5199, allocations: 1.478 MB / 1.039 GB, free: 15.08 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005335/0.5204, allocations: 271.3 kB / 1.04 GB, free: 14.81 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.5207, allocations: 146.5 kB / 1.04 GB, free: 14.66 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.5207, allocations: 4.297 kB / 1.04 GB, free: 14.66 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.5207, allocations: 38.8 kB / 1.04 GB, free: 14.61 MB / 0.795 GB Notification: Performance of pre-optimization done (n=28): time 1.252e-06/0.5207, allocations: 3.938 kB / 1.04 GB, free: 14.61 MB / 0.795 GB Notification: Performance of matching and sorting (n=28): time 0.00179/0.5225, allocations: 0.7092 MB / 1.04 GB, free: 13.88 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.5226, allocations: 77.11 kB / 1.04 GB, free: 13.78 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.5236, allocations: 0.931 MB / 1.041 GB, free: 12.83 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.5236, allocations: 29.7 kB / 1.041 GB, free: 12.79 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.5239, allocations: 424.2 kB / 1.042 GB, free: 12.38 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.307e-05/0.524, allocations: 98.53 kB / 1.042 GB, free: 12.28 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.5241, allocations: 29.7 kB / 1.042 GB, free: 12.24 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.142e-05/0.5241, allocations: 326 kB / 1.042 GB, free: 11.92 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.5245, allocations: 132.5 kB / 1.042 GB, free: 11.79 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003672/0.5249, allocations: 171.8 kB / 1.043 GB, free: 11.61 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005604/0.5254, allocations: 273.9 kB / 1.043 GB, free: 11.34 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5255, allocations: 0 / 1.043 GB, free: 11.34 MB / 0.795 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001124/0.5266, allocations: 0.5092 MB / 1.043 GB, free: 10.82 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.318e-05/0.5266, allocations: 101.1 kB / 1.043 GB, free: 10.72 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.5266, allocations: 0 / 1.043 GB, free: 10.72 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003971/0.527, allocations: 96.75 kB / 1.043 GB, free: 10.62 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.5274, allocations: 71.89 kB / 1.044 GB, free: 10.55 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.5289, allocations: 1.672 MB / 1.045 GB, free: 8.754 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005469/0.5295, allocations: 87.52 kB / 1.045 GB, free: 8.668 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.5295, allocations: 20.22 kB / 1.045 GB, free: 8.648 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.202e-06/0.5295, allocations: 4 kB / 1.045 GB, free: 8.645 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001008/0.5306, allocations: 396.4 kB / 1.046 GB, free: 8.254 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-06/0.5306, allocations: 0 / 1.046 GB, free: 8.254 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003003/0.5309, allocations: 96.84 kB / 1.046 GB, free: 8.156 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.5312, allocations: 71.88 kB / 1.046 GB, free: 8.086 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.5326, allocations: 1.656 MB / 1.047 GB, free: 6.293 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.533, allocations: 71.64 kB / 1.048 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.5331, allocations: 11.98 kB / 1.048 GB, free: 6.211 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (28): * Single equations (assignments): 27 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002704/0.5333, allocations: 345 kB / 1.048 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.172e-05/0.5334, allocations: 90.81 kB / 1.048 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.5336, allocations: 101.1 kB / 1.048 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.5336, allocations: 0 / 1.048 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.5336, allocations: 0 / 1.048 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.5336, allocations: 11.92 kB / 1.048 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.535, allocations: 1.046 MB / 1.049 GB, free: 4.543 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.535, allocations: 8.125 kB / 1.049 GB, free: 4.535 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.5352, allocations: 47.91 kB / 1.049 GB, free: 4.488 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002883/0.5355, allocations: 80.8 kB / 1.049 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.5355, allocations: 11.98 kB / 1.049 GB, free: 4.395 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.5369, allocations: 1.644 MB / 1.051 GB, free: 2.613 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5369, allocations: 11.98 kB / 1.051 GB, free: 2.602 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007952/0.5377, allocations: 0.5457 MB / 1.051 GB, free: 2.027 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.5379, allocations: 187.9 kB / 1.052 GB, free: 1.824 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.7e-05/0.5379, allocations: 8 kB / 1.052 GB, free: 1.816 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.5383, allocations: 35.97 kB / 1.052 GB, free: 1.781 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.5384, allocations: 23.91 kB / 1.052 GB, free: 1.758 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.5384, allocations: 8 kB / 1.052 GB, free: 1.75 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008003/0.5392, allocations: 0.6649 MB / 1.052 GB, free: 1.074 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5392, allocations: 0 / 1.052 GB, free: 1.074 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005823/0.5398, allocations: 267.5 kB / 1.053 GB, free: 0.8125 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (22): * Single equations (assignments): 21 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001071/0.5409, allocations: 1.102 MB / 1.054 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001383/0.5423, allocations: 0.7441 MB / 1.054 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.5423, allocations: 8 kB / 1.054 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.5426, allocations: 266.3 kB / 1.055 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008282/0.5435, allocations: 159.6 kB / 1.055 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008724/0.5522, allocations: 6.977 MB / 1.062 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005586/0.5528, allocations: 1.035 MB / 1.063 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004084/0.5532, allocations: 117.3 kB / 1.063 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/0.5535, allocations: 307.3 kB / 1.063 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of SimCode: time 4.21e-07/0.5535, allocations: 3.938 kB / 1.063 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.632/4.185, allocations: 16.44 MB / 1.079 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/4.185, allocations: 240.8 kB / 1.079 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/6.238, allocations: 0 / 1.079 GB, free: 5.398 MB / 0.8262 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer.fmu > Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches