Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 119 kB / 17.17 MB, free: 5.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 211 kB / 20.13 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.861/2.861, allocations: 476.7 MB / 0.7678 GB, free: 9.324 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.89 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9087/0.9107, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00613/0.9169, allocations: 3.135 MB / 1.282 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004342/0.9212, allocations: 1.998 MB / 1.284 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002153/0.9214, allocations: 11.88 kB / 1.284 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.9225, allocations: 286.2 kB / 1.284 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006181/0.9231, allocations: 199.7 kB / 1.284 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008607/0.924, allocations: 254.3 kB / 1.285 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005233/0.9245, allocations: 324.7 kB / 1.285 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003846/0.9249, allocations: 145.3 kB / 1.285 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.9252, allocations: 141.1 kB / 1.285 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003479/0.9255, allocations: 160.2 kB / 1.285 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.686e-05/0.9256, allocations: 25.14 kB / 1.285 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008033/0.9264, allocations: 421.8 kB / 1.286 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.9265, allocations: 84.02 kB / 1.286 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.9266, allocations: 123.3 kB / 1.286 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008006/0.9274, allocations: 0.493 MB / 1.286 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.9274, allocations: 1.438 kB / 1.286 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9274, allocations: 0 / 1.286 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.9274, allocations: 4 kB / 1.286 GB, free: 7.062 MB / 0.9981 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.001032/0.9285, allocations: 0.5735 MB / 1.287 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.9285, allocations: 9.375 kB / 1.287 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.668e-05/0.9285, allocations: 6.75 kB / 1.287 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.408e-05/0.9286, allocations: 54.66 kB / 1.287 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008262/0.9294, allocations: 110.6 kB / 1.287 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.9298, allocations: 277.4 kB / 1.287 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.9299, allocations: 13.5 kB / 1.288 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.9299, allocations: 20.77 kB / 1.288 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/0.9305, allocations: 354.7 kB / 1.288 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.9305, allocations: 0.75 kB / 1.288 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.9306, allocations: 10.95 kB / 1.288 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.945e-05/0.9306, allocations: 29.36 kB / 1.288 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005037/0.9311, allocations: 295.3 kB / 1.288 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/0.9334, allocations: 1.73 MB / 1.29 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005424/0.934, allocations: 323.3 kB / 1.29 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.9342, allocations: 102.3 kB / 1.29 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.9343, allocations: 87.34 kB / 1.29 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.9343, allocations: 36.67 kB / 1.29 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.9343, allocations: 0 / 1.29 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.002702/0.937, allocations: 0.965 MB / 1.291 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.9371, allocations: 89.59 kB / 1.291 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.9373, allocations: 215.1 kB / 1.292 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.9374, allocations: 30.86 kB / 1.292 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.9375, allocations: 172.5 kB / 1.292 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.762e-05/0.9376, allocations: 85.12 kB / 1.292 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.9377, allocations: 63.31 kB / 1.292 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.9379, allocations: 331.1 kB / 1.292 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.9381, allocations: 130 kB / 1.292 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.9384, allocations: 215 kB / 1.293 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005417/0.9389, allocations: 365.6 kB / 1.293 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.9389, allocations: 4 kB / 1.293 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009857/0.9399, allocations: 0.4998 MB / 1.293 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.9399, allocations: 7.203 kB / 1.293 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.9399, allocations: 7.094 kB / 1.293 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005509/0.9405, allocations: 160.9 kB / 1.294 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.9407, allocations: 62.38 kB / 1.294 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0036/0.9443, allocations: 4.187 MB / 1.298 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.9445, allocations: 17.94 kB / 1.298 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.9446, allocations: 16.11 kB / 1.298 GB, free: 14 MB / 1.014 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.0002455/0.9448, allocations: 167.8 kB / 1.298 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-05/0.9449, allocations: 26.33 kB / 1.298 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.9459, allocations: 477.6 kB / 1.298 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.9459, allocations: 3.281 kB / 1.298 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9459, allocations: 1.953 kB / 1.298 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.9459, allocations: 0.7969 kB / 1.298 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.9477, allocations: 1.001 MB / 1.299 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.9477, allocations: 3.828 kB / 1.299 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.9478, allocations: 33.81 kB / 1.299 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004318/0.9482, allocations: 146.5 kB / 1.3 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.9483, allocations: 9.906 kB / 1.3 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003478/0.9517, allocations: 4.159 MB / 1.304 GB, free: 8.891 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.9517, allocations: 6.5 kB / 1.304 GB, free: 8.887 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009311/0.9527, allocations: 0.6125 MB / 1.304 GB, free: 8.449 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.9528, allocations: 134.3 kB / 1.304 GB, free: 8.324 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.9529, allocations: 16.17 kB / 1.304 GB, free: 8.312 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.9531, allocations: 19.95 kB / 1.304 GB, free: 8.309 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.9532, allocations: 21.78 kB / 1.304 GB, free: 8.305 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.9532, allocations: 8.422 kB / 1.304 GB, free: 8.305 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001907/0.9534, allocations: 159.4 kB / 1.305 GB, free: 8.203 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9534, allocations: 1.281 kB / 1.305 GB, free: 8.203 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00059/0.954, allocations: 96.94 kB / 1.305 GB, free: 8.184 MB / 1.014 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.001352/0.9553, allocations: 1.209 MB / 1.306 GB, free: 7.18 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.9564, allocations: 0.5619 MB / 1.306 GB, free: 6.848 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.9564, allocations: 0 / 1.306 GB, free: 6.848 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005872/0.957, allocations: 398.3 kB / 1.307 GB, free: 6.566 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.9575, allocations: 42.06 kB / 1.307 GB, free: 6.551 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004841/0.9624, allocations: 3.328 MB / 1.31 GB, free: 4.207 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.9629, allocations: 0.7842 MB / 1.311 GB, free: 3.496 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000189/0.963, allocations: 59.7 kB / 1.311 GB, free: 3.488 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.9632, allocations: 71.5 kB / 1.311 GB, free: 3.438 MB / 1.014 GB Notification: Performance of SimCode: time 7.01e-07/0.9632, allocations: 0 / 1.311 GB, free: 3.438 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03391/0.9971, allocations: 6.906 MB / 1.318 GB, free: 2.613 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.85, allocations: 18.48 kB / 1.318 GB, free: 2.602 MB / 1.014 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.18835198902525]