Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_10_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.001061/0.001061, allocations: 91.84 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.008635/0.008636, allocations: 169.9 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.667/1.667, 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 10.1.0-maint.10.0.x/package.mo): time 2.52/2.52, allocations: 437.8 MB / 0.7121 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003366, allocations: 8 kB / 0.873 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5836/0.584, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.003457/0.5875, allocations: 2.649 MB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.589, allocations: 0.7636 MB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.5892, allocations: 7.938 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.5894, allocations: 35.64 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003635/0.5898, allocations: 123.1 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.5902, allocations: 135.8 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005593/0.5908, allocations: 0.491 MB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003261/0.5911, allocations: 182 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003079/0.5914, allocations: 175.2 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002851/0.5917, allocations: 187 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.5918, allocations: 20 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.632e-05/0.5919, allocations: 16 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.652e-05/0.5919, allocations: 71.62 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.5922, allocations: 208.6 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.5925, allocations: 412.5 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5926, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5926, allocations: 3.938 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.5926, allocations: 0 / 1.028 GB, free: 10.37 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001175/0.5938, allocations: 0.6667 MB / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.5938, allocations: 8.031 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.813e-05/0.5939, allocations: 82.7 kB / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.042e-05/0.594, allocations: 52.31 kB / 1.029 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/0.5944, allocations: 327.1 kB / 1.03 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.5945, allocations: 29.38 kB / 1.03 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.233e-05/0.5945, allocations: 36.38 kB / 1.03 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006645/0.5952, allocations: 389 kB / 1.03 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5952, allocations: 0 / 1.03 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.5952, allocations: 16 kB / 1.03 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.5953, allocations: 8 kB / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005834/0.5958, allocations: 282.4 kB / 1.03 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.5977, allocations: 1.452 MB / 1.032 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.5984, allocations: 291.4 kB / 1.032 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004181/0.5988, allocations: 177.2 kB / 1.032 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.5988, allocations: 8.234 kB / 1.032 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.5989, allocations: 42.73 kB / 1.032 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=27): time 1.373e-06/0.5989, allocations: 0 / 1.032 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27): time 0.003209/0.6021, allocations: 0.897 MB / 1.033 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.6021, allocations: 55.41 kB / 1.033 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/0.6025, allocations: 361.7 kB / 1.033 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.6026, allocations: 33.7 kB / 1.034 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.6027, allocations: 216.2 kB / 1.034 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.587e-05/0.6028, allocations: 98.58 kB / 1.034 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.6029, allocations: 29.7 kB / 1.034 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.603, allocations: 346.8 kB / 1.034 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.6033, allocations: 96.5 kB / 1.034 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.6035, allocations: 171.8 kB / 1.034 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005172/0.6041, allocations: 265 kB / 1.035 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6041, allocations: 4 kB / 1.035 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001289/0.6054, allocations: 0.4911 MB / 1.035 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.512e-05/0.6055, allocations: 133.5 kB / 1.035 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.6055, allocations: 4.125 kB / 1.035 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007805/0.6063, allocations: 184.6 kB / 1.035 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.6065, allocations: 39.92 kB / 1.035 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003528/0.61, allocations: 2.475 MB / 1.038 GB, free: 192 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.6104, allocations: 51.56 kB / 1.038 GB, free: 140 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.6105, allocations: 11.98 kB / 1.038 GB, free: 128 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.6105, allocations: 4 kB / 1.038 GB, free: 124 kB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001157/0.6116, allocations: 448.1 kB / 1.038 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.6117, allocations: 4 kB / 1.038 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006845/0.6123, allocations: 186.6 kB / 1.039 GB, free: 15.49 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.6125, allocations: 35.98 kB / 1.039 GB, free: 15.46 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/0.6157, allocations: 2.39 MB / 1.041 GB, free: 12.94 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.6161, allocations: 39.77 kB / 1.041 GB, free: 12.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.6161, allocations: 12.06 kB / 1.041 GB, free: 12.89 MB / 0.795 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.0002545/0.6164, allocations: 229.6 kB / 1.041 GB, free: 12.65 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-05/0.6165, allocations: 35.53 kB / 1.041 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.6166, allocations: 52.16 kB / 1.041 GB, free: 12.57 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.6166, allocations: 3.938 kB / 1.041 GB, free: 12.56 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6166, allocations: 0 / 1.041 GB, free: 12.56 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.6166, allocations: 11.92 kB / 1.041 GB, free: 12.55 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004975/0.6171, allocations: 409.6 kB / 1.042 GB, free: 12.1 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6171, allocations: 0 / 1.042 GB, free: 12.1 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.6173, allocations: 31.98 kB / 1.042 GB, free: 12.07 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000655/0.6179, allocations: 172.6 kB / 1.042 GB, free: 11.9 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.618, allocations: 12 kB / 1.042 GB, free: 11.89 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003/0.621, allocations: 2.382 MB / 1.044 GB, free: 9.367 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.621, allocations: 4 kB / 1.044 GB, free: 9.363 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.6221, allocations: 0.5524 MB / 1.045 GB, free: 8.793 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.6223, allocations: 136.5 kB / 1.045 GB, free: 8.641 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.6224, allocations: 4 kB / 1.045 GB, free: 8.637 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.6226, allocations: 23.97 kB / 1.045 GB, free: 8.613 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.6227, allocations: 23.91 kB / 1.045 GB, free: 8.59 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.6228, allocations: 8 kB / 1.045 GB, free: 8.582 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002675/0.623, allocations: 263.1 kB / 1.045 GB, free: 8.328 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.623, allocations: 4 kB / 1.045 GB, free: 8.324 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000754/0.6238, allocations: 255.6 kB / 1.045 GB, free: 8.074 MB / 0.795 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.00149/0.6253, allocations: 1.095 MB / 1.047 GB, free: 6.949 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001576/0.6269, allocations: 0.7825 MB / 1.047 GB, free: 6.141 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6269, allocations: 0 / 1.047 GB, free: 6.141 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000554/0.6275, allocations: 334.3 kB / 1.048 GB, free: 5.801 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/0.6281, allocations: 85.45 kB / 1.048 GB, free: 5.719 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006104/0.6342, allocations: 3.881 MB / 1.052 GB, free: 1.727 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.6346, allocations: 0.8075 MB / 1.052 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001764/0.6348, allocations: 43.25 kB / 1.052 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.635, allocations: 111.4 kB / 1.052 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of SimCode: time 5.81e-07/0.635, allocations: 0 / 1.052 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.6615, allocations: 11.34 MB / 1.064 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.6617, allocations: 251.7 kB / 1.064 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.072/2.734, allocations: 0 / 1.064 GB, free: 5.402 MB / 0.8106 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches