Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.SideFins,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",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.0077/0.0077, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001844/0.001844, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.594/2.594, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001416, allocations: 68.08 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8044/0.8058, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.008357/0.8142, allocations: 5.848 MB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1674/0.9816, allocations: 151.3 MB / 1.32 GB, free: 5.98 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.9829, allocations: 19.94 kB / 1.32 GB, free: 5.961 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.9839, allocations: 221.8 kB / 1.32 GB, free: 5.742 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.9867, allocations: 0.6594 MB / 1.321 GB, free: 5.082 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002811/0.9895, allocations: 0.979 MB / 1.321 GB, free: 4.109 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002742/0.9923, allocations: 1.913 MB / 1.323 GB, free: 2.188 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.9937, allocations: 0.7677 MB / 1.324 GB, free: 1.387 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.995, allocations: 0.6775 MB / 1.325 GB, free: 0.707 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.9962, allocations: 0.7432 MB / 1.325 GB, free: 15.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004405/0.9967, allocations: 164 kB / 1.326 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.9982, allocations: 0.6362 MB / 1.326 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005274/0.9987, allocations: 442.6 kB / 1.327 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.9998, allocations: 0.7697 MB / 1.327 GB, free: 13.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00323/1.003, allocations: 2.22 MB / 1.33 GB, free: 11.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.003, allocations: 0 / 1.33 GB, free: 11.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.433e-06/1.003, allocations: 0 / 1.33 GB, free: 11.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.836e-05/1.003, allocations: 0 / 1.33 GB, free: 11.73 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.004605/1.008, allocations: 1.818 MB / 1.331 GB, free: 9.848 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/1.008, allocations: 8.922 kB / 1.331 GB, free: 9.84 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003959/1.008, allocations: 190 kB / 1.332 GB, free: 9.645 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008999/1.017, allocations: 1.271 MB / 1.333 GB, free: 8.371 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002356/1.02, allocations: 0.9768 MB / 1.334 GB, free: 7.352 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/1.02, allocations: 94.45 kB / 1.334 GB, free: 7.258 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004078/1.02, allocations: 120 kB / 1.334 GB, free: 7.141 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005874/1.026, allocations: 2.037 MB / 1.336 GB, free: 5.039 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/1.026, allocations: 0 / 1.336 GB, free: 5.039 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002455/1.026, allocations: 55.98 kB / 1.336 GB, free: 4.984 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.618e-05/1.026, allocations: 36 kB / 1.336 GB, free: 4.949 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007865/1.034, allocations: 2.76 MB / 1.339 GB, free: 2.18 MB / 1.061 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.01005/1.044, allocations: 4.697 MB / 1.343 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007929/1.052, allocations: 2.735 MB / 1.346 GB, free: 10.58 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003193/1.056, allocations: 1.052 MB / 1.347 GB, free: 9.523 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006042/1.056, allocations: 0.6062 MB / 1.348 GB, free: 8.789 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00369/1.06, allocations: 1.359 MB / 1.349 GB, free: 7.41 MB / 1.076 GB Notification: Performance of pre-optimization done (n=132): time 4.288e-06/1.06, allocations: 0 / 1.349 GB, free: 7.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=132): time 0.0113/1.071, allocations: 3.379 MB / 1.352 GB, free: 4.004 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/1.071, allocations: 197.2 kB / 1.352 GB, free: 3.766 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/1.073, allocations: 0.7784 MB / 1.353 GB, free: 2.98 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002094/1.073, allocations: 49.7 kB / 1.353 GB, free: 2.926 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004217/1.073, allocations: 484.9 kB / 1.354 GB, free: 2.445 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005186/1.074, allocations: 425.8 kB / 1.354 GB, free: 2.023 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005882/1.074, allocations: 254.7 kB / 1.354 GB, free: 1.77 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.075, allocations: 349.9 kB / 1.355 GB, free: 1.422 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002973/1.078, allocations: 0.9431 MB / 1.356 GB, free: 488 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003161/1.081, allocations: 1.089 MB / 1.357 GB, free: 15.36 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006096/1.087, allocations: 1.899 MB / 1.359 GB, free: 13.44 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/1.087, allocations: 4 kB / 1.359 GB, free: 13.43 MB / 1.092 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007681/1.095, allocations: 2.276 MB / 1.361 GB, free: 11.14 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/1.095, allocations: 4 kB / 1.361 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/1.095, allocations: 0 / 1.361 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006432/1.095, allocations: 92.77 kB / 1.361 GB, free: 11.05 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002512/1.098, allocations: 415.3 kB / 1.361 GB, free: 10.64 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/1.1, allocations: 1.654 MB / 1.363 GB, free: 8.84 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/1.103, allocations: 282.7 kB / 1.363 GB, free: 8.562 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002979/1.103, allocations: 55.94 kB / 1.363 GB, free: 8.508 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001151/1.104, allocations: 329.5 kB / 1.363 GB, free: 8.18 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005329/1.105, allocations: 122.6 kB / 1.364 GB, free: 8.059 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008513/1.113, allocations: 2.727 MB / 1.366 GB, free: 5.316 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/1.113, allocations: 12 kB / 1.366 GB, free: 5.305 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.149e-05/1.113, allocations: 0 / 1.366 GB, free: 5.305 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.299e-05/1.113, allocations: 11.97 kB / 1.366 GB, free: 5.293 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/1.124, allocations: 4.307 MB / 1.37 GB, free: 0.9219 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/1.124, allocations: 4 kB / 1.371 GB, free: 0.918 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002433/1.126, allocations: 407.4 kB / 1.371 GB, free: 0.5195 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004898/1.127, allocations: 80.72 kB / 1.371 GB, free: 448 kB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002205/1.127, allocations: 47.94 kB / 1.371 GB, free: 400 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/1.129, allocations: 1.686 MB / 1.373 GB, free: 14.55 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.129, allocations: 4.062 kB / 1.373 GB, free: 14.55 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007549/1.137, allocations: 2.489 MB / 1.375 GB, free: 12.04 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009258/1.138, allocations: 423.1 kB / 1.375 GB, free: 11.61 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000318/1.138, allocations: 28 kB / 1.376 GB, free: 11.58 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002132/1.14, allocations: 233.6 kB / 1.376 GB, free: 11.36 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/1.14, allocations: 105.1 kB / 1.376 GB, free: 11.25 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001854/1.141, allocations: 63.92 kB / 1.376 GB, free: 11.19 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009103/1.142, allocations: 0.5537 MB / 1.376 GB, free: 10.64 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.71e-07/1.142, allocations: 4 kB / 1.376 GB, free: 10.64 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001502/1.143, allocations: 499 kB / 1.377 GB, free: 10.15 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009228/1.152, allocations: 3.58 MB / 1.38 GB, free: 6.707 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.007087/1.159, allocations: 2.32 MB / 1.383 GB, free: 4.375 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/1.159, allocations: 4 kB / 1.383 GB, free: 4.371 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003706/1.163, allocations: 1.306 MB / 1.384 GB, free: 3.051 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/1.165, allocations: 337.5 kB / 1.384 GB, free: 2.738 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02906/1.194, allocations: 11.99 MB / 1.396 GB, free: 6.59 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000902/1.195, allocations: 1.163 MB / 1.397 GB, free: 5.398 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001921/1.197, allocations: 493.1 kB / 1.398 GB, free: 4.914 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/1.198, allocations: 0.5382 MB / 1.398 GB, free: 4.379 MB / 1.123 GB Notification: Performance of SimCode: time 9.72e-07/1.198, allocations: 0 / 1.398 GB, free: 4.379 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07023/1.268, allocations: 31.66 MB / 1.429 GB, free: 4.938 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/15.29, allocations: 9.625 kB / 1.429 GB, free: 4.93 MB / 1.154 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches