Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_10_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.006689/0.006689, allocations: 105 kB / 15.73 MB, free: 6.055 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.001719/0.001719, allocations: 191.3 kB / 16.67 MB, free: 5.977 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.435/1.435, 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.583/2.583, allocations: 437.1 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 64.12 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7968/0.7989, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005178/0.8041, allocations: 3.082 MB / 1.169 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003175/0.8073, allocations: 1.905 MB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.8075, allocations: 8 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009293/0.8084, allocations: 282.9 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004741/0.8089, allocations: 191.1 kB / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006398/0.8096, allocations: 252.9 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004314/0.81, allocations: 315 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003554/0.8104, allocations: 181 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.8106, allocations: 135.5 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003943/0.811, allocations: 151.4 kB / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.811, allocations: 20 kB / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007531/0.8118, allocations: 407.2 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.8119, allocations: 83.78 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.8121, allocations: 119.4 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00072/0.8128, allocations: 490 kB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8128, allocations: 0 / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8129, allocations: 3.938 kB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.8129, allocations: 0 / 1.174 GB, free: 12.16 MB / 0.9044 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.001035/0.8139, allocations: 0.5724 MB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.814, allocations: 8.922 kB / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.486e-05/0.8141, allocations: 54.73 kB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008088/0.8149, allocations: 112.6 kB / 1.174 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004764/0.8154, allocations: 282.4 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.8154, allocations: 12.81 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.8154, allocations: 20.36 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005777/0.816, allocations: 349.3 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.816, allocations: 0 / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.479e-05/0.8161, allocations: 15.98 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.746e-05/0.8161, allocations: 32.39 kB / 1.175 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005315/0.8167, allocations: 293.5 kB / 1.175 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002517/0.8192, allocations: 1.73 MB / 1.177 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/0.8197, allocations: 322.1 kB / 1.177 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.8199, allocations: 113.5 kB / 1.177 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.82, allocations: 85.11 kB / 1.177 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.8201, allocations: 38.55 kB / 1.177 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.8201, allocations: 0 / 1.177 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.002593/0.8227, allocations: 0.9804 MB / 1.178 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.8228, allocations: 85.05 kB / 1.178 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.8231, allocations: 203.8 kB / 1.179 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.113e-05/0.8232, allocations: 37.73 kB / 1.179 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.8233, allocations: 176.4 kB / 1.179 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.24e-05/0.8234, allocations: 83.25 kB / 1.179 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.8235, allocations: 61.7 kB / 1.179 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.8237, allocations: 330.8 kB / 1.179 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.8239, allocations: 131.9 kB / 1.179 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.8242, allocations: 214.4 kB / 1.18 GB, free: 5.406 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/0.8247, allocations: 361.8 kB / 1.18 GB, free: 5.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8247, allocations: 0 / 1.18 GB, free: 5.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008867/0.8256, allocations: 0.5066 MB / 1.18 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.8256, allocations: 8 kB / 1.181 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.8256, allocations: 4 kB / 1.181 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006199/0.8262, allocations: 155.6 kB / 1.181 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.8265, allocations: 59.91 kB / 1.181 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003762/0.8303, allocations: 4.194 MB / 1.185 GB, free: 15.73 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.8305, allocations: 24 kB / 1.185 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.8306, allocations: 12.09 kB / 1.185 GB, free: 15.7 MB / 0.92 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.0002099/0.8308, allocations: 173.7 kB / 1.185 GB, free: 15.52 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.91e-05/0.8309, allocations: 23.86 kB / 1.185 GB, free: 15.49 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009626/0.8318, allocations: 476.6 kB / 1.185 GB, free: 15.01 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.8318, allocations: 4 kB / 1.185 GB, free: 15 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.8319, allocations: 4 kB / 1.185 GB, free: 15 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.902e-06/0.8319, allocations: 3.984 kB / 1.185 GB, free: 15 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.8337, allocations: 0.996 MB / 1.186 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.8337, allocations: 0 / 1.186 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.8338, allocations: 35.92 kB / 1.187 GB, free: 13.87 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004256/0.8343, allocations: 147.6 kB / 1.187 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.8343, allocations: 8 kB / 1.187 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00359/0.8379, allocations: 4.155 MB / 1.191 GB, free: 9.219 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.8379, allocations: 12.16 kB / 1.191 GB, free: 9.207 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000969/0.8389, allocations: 0.6216 MB / 1.191 GB, free: 8.531 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.8391, allocations: 128.9 kB / 1.191 GB, free: 8.387 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.8391, allocations: 4 kB / 1.191 GB, free: 8.383 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.8394, allocations: 19.97 kB / 1.191 GB, free: 8.363 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.8395, allocations: 27.92 kB / 1.191 GB, free: 8.336 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.8395, allocations: 12 kB / 1.192 GB, free: 8.324 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001651/0.8397, allocations: 156.2 kB / 1.192 GB, free: 8.172 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8397, allocations: 0 / 1.192 GB, free: 8.172 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005441/0.8402, allocations: 87.94 kB / 1.192 GB, free: 8.086 MB / 0.92 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.001282/0.8415, allocations: 1.202 MB / 1.193 GB, free: 6.82 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.8427, allocations: 0.5867 MB / 1.193 GB, free: 6.207 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.8427, allocations: 0 / 1.193 GB, free: 6.207 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005831/0.8433, allocations: 404.8 kB / 1.194 GB, free: 5.789 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/0.8439, allocations: 41.08 kB / 1.194 GB, free: 5.75 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004698/0.8486, allocations: 3.334 MB / 1.197 GB, free: 2.207 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.849, allocations: 0.7868 MB / 1.198 GB, free: 1.395 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001699/0.8492, allocations: 54.25 kB / 1.198 GB, free: 1.344 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.8493, allocations: 71.41 kB / 1.198 GB, free: 1.273 MB / 0.92 GB Notification: Performance of SimCode: time 1.032e-06/0.8493, allocations: 3.938 kB / 1.198 GB, free: 1.27 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03675/0.8861, allocations: 6.711 MB / 1.205 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.36, allocations: 13.8 kB / 1.205 GB, free: 10.71 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches