Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",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.0008531/0.0008531, allocations: 91.69 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.00516/0.00516, allocations: 170.4 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.193/1.193, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.338/2.338, allocations: 462.6 MB / 0.7364 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002825, allocations: 10.66 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2285, allocations: 159.6 MB / 1.059 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.002686/0.2312, allocations: 2.647 MB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009927/0.2322, allocations: 0.7713 MB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.2324, allocations: 7.938 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.2325, allocations: 39.62 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.2327, allocations: 119.1 kB / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.233, allocations: 135.9 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004115/0.2335, allocations: 498.9 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002686/0.2337, allocations: 186 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.2339, allocations: 167.2 kB / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.2342, allocations: 191 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.2342, allocations: 16 kB / 1.063 GB, free: 4 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.371e-05/0.2343, allocations: 16.05 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.104e-05/0.2343, allocations: 67.58 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.2345, allocations: 220.5 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.2348, allocations: 410.6 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.2348, allocations: 0 / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2348, allocations: 0 / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.2349, allocations: 0 / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009683/0.2358, allocations: 0.6745 MB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.2359, allocations: 11.97 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.31e-05/0.2359, allocations: 70.72 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.958e-05/0.236, allocations: 48.38 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.2363, allocations: 327.1 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.2364, allocations: 29.38 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.292e-05/0.2364, allocations: 28.38 kB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005764/0.237, allocations: 393 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-06/0.237, allocations: 0 / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.2371, allocations: 16 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.2371, allocations: 8 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005151/0.2376, allocations: 286.4 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.2392, allocations: 1.459 MB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005221/0.2397, allocations: 291.5 kB / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003651/0.2401, allocations: 181.9 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.2401, allocations: 4.234 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.2402, allocations: 42.67 kB / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.253e-06/0.2402, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.002797/0.243, allocations: 0.8952 MB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.243, allocations: 59.41 kB / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/0.2434, allocations: 369.7 kB / 1.069 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.2434, allocations: 29.7 kB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.2435, allocations: 208.2 kB / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/0.2436, allocations: 94.64 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.2436, allocations: 29.7 kB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2438, allocations: 346.8 kB / 1.07 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.244, allocations: 104.5 kB / 1.07 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.2442, allocations: 167.9 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/0.2447, allocations: 266.5 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2447, allocations: 4 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001086/0.2458, allocations: 0.4974 MB / 1.071 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.494e-05/0.2459, allocations: 133.4 kB / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.2459, allocations: 0 / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006866/0.2466, allocations: 190.5 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.2467, allocations: 39.97 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002969/0.2497, allocations: 2.478 MB / 1.074 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/0.25, allocations: 47.56 kB / 1.074 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.2501, allocations: 8 kB / 1.074 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.46e-06/0.2501, allocations: 4 kB / 1.074 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001021/0.2511, allocations: 444.2 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-06/0.2511, allocations: 160 / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005808/0.2517, allocations: 186.7 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.2518, allocations: 35.92 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/0.2545, allocations: 2.387 MB / 1.077 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.2548, allocations: 47.67 kB / 1.077 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.2548, allocations: 12 kB / 1.077 GB, free: 1.812 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 17 * 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 {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.255, allocations: 225 kB / 1.077 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.2551, allocations: 35.62 kB / 1.077 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.338e-05/0.2552, allocations: 44.16 kB / 1.077 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.2552, allocations: 7.938 kB / 1.077 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.2552, allocations: 4 kB / 1.077 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2552, allocations: 3.984 kB / 1.077 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.2556, allocations: 421.6 kB / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2556, allocations: 0 / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.2557, allocations: 23.98 kB / 1.077 GB, free: 1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005824/0.2563, allocations: 180.6 kB / 1.078 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.2563, allocations: 0 / 1.078 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002647/0.259, allocations: 2.386 MB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.259, allocations: 4.062 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.26, allocations: 0.5462 MB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.2602, allocations: 132.5 kB / 1.081 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.2602, allocations: 8 kB / 1.081 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.2605, allocations: 27.84 kB / 1.081 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.2605, allocations: 27.97 kB / 1.081 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.2606, allocations: 4 kB / 1.081 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002329/0.2608, allocations: 263.2 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2608, allocations: 0 / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005993/0.2614, allocations: 259.6 kB / 1.081 GB, free: 13 MB / 0.8419 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 (11): * Single equations (assignments): 10 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00127/0.2627, allocations: 1.092 MB / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.264, allocations: 0.7832 MB / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.264, allocations: 3.938 kB / 1.083 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.2645, allocations: 326.7 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.265, allocations: 85.52 kB / 1.083 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005032/0.27, allocations: 3.884 MB / 1.087 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.2703, allocations: 0.8114 MB / 1.088 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001243/0.2705, allocations: 35.27 kB / 1.088 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.2706, allocations: 115.4 kB / 1.088 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.2706, allocations: 0 / 1.088 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.659/1.93, allocations: 11.34 MB / 1.099 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/1.93, allocations: 248.5 kB / 1.099 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/3.925, allocations: 5.625 kB / 1.099 GB, free: 10.34 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches