Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",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.001383/0.001382, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 194.1 kB / 16.53 MB, free: 6.699 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.3 MB / 0.6647 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001408, allocations: 59.91 kB / 0.8126 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5777/0.5791, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003709/0.5828, allocations: 3.076 MB / 0.9527 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.5852, allocations: 1.913 MB / 0.9546 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.5854, allocations: 8.344 kB / 0.9546 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008756/0.5862, allocations: 278.5 kB / 0.9549 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004906/0.5868, allocations: 189.5 kB / 0.955 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006514/0.5874, allocations: 243.2 kB / 0.9553 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004035/0.5879, allocations: 326.6 kB / 0.9556 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003382/0.5882, allocations: 190.8 kB / 0.9558 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.5884, allocations: 133.8 kB / 0.9559 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.5887, allocations: 147.8 kB / 0.956 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.5887, allocations: 20.41 kB / 0.9561 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006433/0.5894, allocations: 402.3 kB / 0.9564 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.5895, allocations: 84.58 kB / 0.9565 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.5896, allocations: 128.9 kB / 0.9566 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004845/0.5901, allocations: 479.6 kB / 0.9571 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5901, allocations: 4 kB / 0.9571 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.52e-07/0.5901, allocations: 4 kB / 0.9571 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.5901, allocations: 0 / 0.9571 GB, free: 3.691 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007206/0.5908, allocations: 0.5562 MB / 0.9576 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.5909, allocations: 9.625 kB / 0.9577 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.115e-05/0.5909, allocations: 58.97 kB / 0.9577 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007687/0.5917, allocations: 113.3 kB / 0.9578 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.592, allocations: 257.2 kB / 0.9581 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.592, allocations: 25.48 kB / 0.9581 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.5921, allocations: 21.31 kB / 0.9581 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004826/0.5926, allocations: 353.5 kB / 0.9584 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.5926, allocations: 0.9062 kB / 0.9584 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.5926, allocations: 10.16 kB / 0.9585 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-05/0.5927, allocations: 26.61 kB / 0.9585 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/0.5931, allocations: 297.4 kB / 0.9588 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.5947, allocations: 1.734 MB / 0.9605 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003937/0.5951, allocations: 319 kB / 0.9608 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.5953, allocations: 109.1 kB / 0.9609 GB, free: 460 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.753e-05/0.5954, allocations: 95.02 kB / 0.961 GB, free: 352 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.5954, allocations: 31.94 kB / 0.961 GB, free: 312 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.5954, allocations: 1.438 kB / 0.961 GB, free: 312 kB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.002433/0.5979, allocations: 0.9675 MB / 0.9619 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.5979, allocations: 81.05 kB / 0.962 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.5982, allocations: 215.5 kB / 0.9622 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.5982, allocations: 30.98 kB / 0.9622 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.5983, allocations: 165.1 kB / 0.9624 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.246e-05/0.5984, allocations: 80.2 kB / 0.9625 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.5985, allocations: 66.84 kB / 0.9625 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5987, allocations: 332.3 kB / 0.9629 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.5989, allocations: 132.1 kB / 0.963 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.5992, allocations: 207.1 kB / 0.9632 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005644/0.5998, allocations: 373.5 kB / 0.9635 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.5998, allocations: 0 / 0.9635 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009388/0.6007, allocations: 0.5152 MB / 0.964 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.6008, allocations: 7.188 kB / 0.9641 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.6008, allocations: 3.281 kB / 0.9641 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005134/0.6013, allocations: 145.7 kB / 0.9642 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.6016, allocations: 61.25 kB / 0.9643 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003153/0.6047, allocations: 4.192 MB / 0.9683 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.605, allocations: 16.92 kB / 0.9684 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.605, allocations: 13.97 kB / 0.9684 GB, free: 9.75 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001892/0.6052, allocations: 171.4 kB / 0.9685 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.576e-05/0.6053, allocations: 22.62 kB / 0.9686 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008764/0.6062, allocations: 469 kB / 0.969 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.6062, allocations: 7.156 kB / 0.969 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6062, allocations: 2.031 kB / 0.969 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.6062, allocations: 0 / 0.969 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.6078, allocations: 1.033 MB / 0.97 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.6079, allocations: 2.688 kB / 0.97 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.608, allocations: 33.61 kB / 0.9701 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003935/0.6084, allocations: 145.9 kB / 0.9702 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.6084, allocations: 7.969 kB / 0.9702 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002661/0.6111, allocations: 4.161 MB / 0.9743 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.6111, allocations: 6.312 kB / 0.9743 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007864/0.6119, allocations: 0.6216 MB / 0.9749 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.612, allocations: 134.3 kB / 0.975 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.6121, allocations: 12.11 kB / 0.975 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.6123, allocations: 17.52 kB / 0.975 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.6124, allocations: 30.69 kB / 0.9751 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.6124, allocations: 9.344 kB / 0.9751 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001421/0.6125, allocations: 152.7 kB / 0.9752 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6126, allocations: 1.031 kB / 0.9752 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005556/0.6131, allocations: 93.8 kB / 0.9753 GB, free: 3.43 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001075/0.6142, allocations: 1.206 MB / 0.9765 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009246/0.6151, allocations: 0.588 MB / 0.9771 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6152, allocations: 0 / 0.9771 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000506/0.6157, allocations: 408 kB / 0.9775 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.6162, allocations: 41.98 kB / 0.9775 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004199/0.6204, allocations: 3.323 MB / 0.9807 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.6207, allocations: 0.7864 MB / 0.9815 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001807/0.6209, allocations: 54.56 kB / 0.9816 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.621, allocations: 79.94 kB / 0.9816 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/0.621, allocations: 0 / 0.9816 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.6496, allocations: 6.606 MB / 0.9881 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.59, allocations: 9.953 kB / 0.9881 GB, free: 8.887 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches