Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001534/0.001534, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001708/0.001708, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.079/3.079, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_latest_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.001957/0.001957, allocations: 70.22 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.3, allocations: 179 MB / 1.345 GB, free: 15.99 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005214/0.3052, allocations: 3.033 MB / 1.348 GB, free: 12.94 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003474/0.3087, allocations: 1.889 MB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.3089, allocations: 7.938 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.3099, allocations: 280.8 kB / 1.35 GB, free: 10.76 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005157/0.3104, allocations: 191.1 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006545/0.3111, allocations: 255.2 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004561/0.3115, allocations: 326.7 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003533/0.3119, allocations: 160.7 kB / 1.351 GB, free: 9.836 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.3122, allocations: 139.5 kB / 1.351 GB, free: 9.699 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000321/0.3125, allocations: 159.4 kB / 1.352 GB, free: 9.543 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.3125, allocations: 24 kB / 1.352 GB, free: 9.52 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006705/0.3132, allocations: 391.2 kB / 1.352 GB, free: 9.137 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.3133, allocations: 83.75 kB / 1.352 GB, free: 9.055 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.3134, allocations: 99.58 kB / 1.352 GB, free: 8.957 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006408/0.3141, allocations: 0.4982 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3141, allocations: 4 kB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3141, allocations: 0 / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.3141, allocations: 0 / 1.353 GB, free: 8.453 MB / 1.045 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.0008499/0.3149, allocations: 0.4893 MB / 1.353 GB, free: 7.934 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.315, allocations: 12.03 kB / 1.353 GB, free: 7.922 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.46e-05/0.315, allocations: 8.625 kB / 1.353 GB, free: 7.914 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.324e-05/0.315, allocations: 58.72 kB / 1.353 GB, free: 7.848 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008068/0.3158, allocations: 112.7 kB / 1.353 GB, free: 7.738 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.3162, allocations: 210.6 kB / 1.353 GB, free: 7.508 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.3162, allocations: 12.81 kB / 1.353 GB, free: 7.496 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.3162, allocations: 24.38 kB / 1.353 GB, free: 7.473 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006012/0.3168, allocations: 400.1 kB / 1.354 GB, free: 7.043 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.3169, allocations: 7.938 kB / 1.354 GB, free: 7.035 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.3169, allocations: 8 kB / 1.354 GB, free: 7.027 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-05/0.3169, allocations: 24.42 kB / 1.354 GB, free: 7.004 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004728/0.3174, allocations: 297.5 kB / 1.354 GB, free: 6.715 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.3193, allocations: 1.268 MB / 1.355 GB, free: 5.375 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004692/0.3198, allocations: 244.9 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.32, allocations: 97.67 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.482e-05/0.3201, allocations: 11.98 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.3201, allocations: 42.5 kB / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.3201, allocations: 0 / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of matching and sorting (n=23): time 0.002472/0.3226, allocations: 0.8978 MB / 1.357 GB, free: 4.039 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.3226, allocations: 85.05 kB / 1.357 GB, free: 3.938 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.3228, allocations: 215.7 kB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.3229, allocations: 29.7 kB / 1.357 GB, free: 3.68 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.323, allocations: 180.4 kB / 1.357 GB, free: 3.496 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.645e-05/0.3231, allocations: 83.33 kB / 1.357 GB, free: 3.414 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.3232, allocations: 61.73 kB / 1.357 GB, free: 3.348 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3233, allocations: 330.8 kB / 1.358 GB, free: 3.016 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.3235, allocations: 131.9 kB / 1.358 GB, free: 2.887 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.3238, allocations: 209.3 kB / 1.358 GB, free: 2.648 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004906/0.3243, allocations: 369.1 kB / 1.358 GB, free: 2.254 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3243, allocations: 4 kB / 1.358 GB, free: 2.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009342/0.3252, allocations: 0.5158 MB / 1.359 GB, free: 1.715 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3252, allocations: 6.656 kB / 1.359 GB, free: 1.711 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3252, allocations: 8 kB / 1.359 GB, free: 1.703 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005491/0.3258, allocations: 151.3 kB / 1.359 GB, free: 1.543 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.3261, allocations: 55.91 kB / 1.359 GB, free: 1.488 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00327/0.3293, allocations: 3.976 MB / 1.363 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.3295, allocations: 16.36 kB / 1.363 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.3296, allocations: 20 kB / 1.363 GB, free: 13.2 MB / 1.061 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.0001887/0.3298, allocations: 165.6 kB / 1.363 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-05/0.3298, allocations: 19.91 kB / 1.363 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008964/0.3307, allocations: 478.6 kB / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3307, allocations: 4 kB / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.3307, allocations: 3.938 kB / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3307, allocations: 4 kB / 1.364 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.3323, allocations: 0.9249 MB / 1.364 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.3323, allocations: 4.25 kB / 1.364 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.3325, allocations: 39.92 kB / 1.365 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004148/0.3329, allocations: 143.3 kB / 1.365 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.3329, allocations: 8 kB / 1.365 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003111/0.336, allocations: 3.941 MB / 1.369 GB, free: 7.078 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.336, allocations: 4 kB / 1.369 GB, free: 7.074 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008856/0.3369, allocations: 0.622 MB / 1.369 GB, free: 6.398 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.337, allocations: 51.77 kB / 1.369 GB, free: 6.348 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.3371, allocations: 8 kB / 1.369 GB, free: 6.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.3373, allocations: 23.97 kB / 1.369 GB, free: 6.316 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.3374, allocations: 19.97 kB / 1.369 GB, free: 6.297 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.3374, allocations: 8 kB / 1.369 GB, free: 6.289 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001617/0.3375, allocations: 157.5 kB / 1.369 GB, free: 6.137 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3375, allocations: 7.875 kB / 1.369 GB, free: 6.129 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000527/0.3381, allocations: 99.81 kB / 1.369 GB, free: 6.031 MB / 1.061 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.001216/0.3393, allocations: 1.192 MB / 1.371 GB, free: 4.773 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009667/0.3402, allocations: 0.5715 MB / 1.371 GB, free: 4.176 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.3402, allocations: 4 kB / 1.371 GB, free: 4.172 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005528/0.3408, allocations: 385.1 kB / 1.372 GB, free: 3.77 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005205/0.3413, allocations: 50.45 kB / 1.372 GB, free: 3.723 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/0.3457, allocations: 3.347 MB / 1.375 GB, free: 172 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.3459, allocations: 177 kB / 1.375 GB, free: 15.98 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001618/0.346, allocations: 62.22 kB / 1.375 GB, free: 15.91 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.3462, allocations: 71.41 kB / 1.375 GB, free: 15.84 MB / 1.076 GB Notification: Performance of SimCode: time 4.81e-07/0.3462, allocations: 0 / 1.375 GB, free: 15.84 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03318/0.3793, allocations: 7.122 MB / 1.382 GB, free: 8.922 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.5, allocations: 2.938 kB / 1.382 GB, free: 8.922 MB / 1.076 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.050203836988658]