Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00177/0.00177, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002152/0.002152, allocations: 216 kB / 23.04 MB, free: 5.078 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.05/3.05, allocations: 0.49 GB / 0.7959 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_12_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.001913/0.001913, allocations: 66.25 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.308, allocations: 176.1 MB / 1.327 GB, free: 2.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004879/0.3129, allocations: 3.196 MB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003124/0.316, allocations: 2.041 MB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.3161, allocations: 8 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008933/0.317, allocations: 298.8 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004417/0.3175, allocations: 195.1 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006215/0.3181, allocations: 259.2 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003803/0.3185, allocations: 322.9 kB / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002855/0.3187, allocations: 149.1 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.319, allocations: 143.5 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.3193, allocations: 155.5 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.3193, allocations: 20 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006604/0.32, allocations: 423.2 kB / 1.334 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.3201, allocations: 87.73 kB / 1.334 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.3202, allocations: 127.4 kB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006492/0.3208, allocations: 498.3 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3208, allocations: 0 / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3208, allocations: 0 / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3208, allocations: 3.938 kB / 1.334 GB, free: 10.12 MB / 1.029 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.0008396/0.3217, allocations: 0.4932 MB / 1.335 GB, free: 9.594 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3217, allocations: 8.031 kB / 1.335 GB, free: 9.586 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.793e-05/0.3217, allocations: 8.625 kB / 1.335 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.209e-05/0.3218, allocations: 74.66 kB / 1.335 GB, free: 9.496 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000806/0.3226, allocations: 104.7 kB / 1.335 GB, free: 9.395 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.3229, allocations: 212.7 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.323, allocations: 12.81 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.323, allocations: 16.38 kB / 1.335 GB, free: 9.137 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/0.3235, allocations: 360.6 kB / 1.336 GB, free: 8.762 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3236, allocations: 4 kB / 1.336 GB, free: 8.758 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.3236, allocations: 7.984 kB / 1.336 GB, free: 8.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/0.3236, allocations: 24.42 kB / 1.336 GB, free: 8.727 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004635/0.3241, allocations: 293.5 kB / 1.336 GB, free: 8.441 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.3262, allocations: 1.627 MB / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000464/0.3267, allocations: 249 kB / 1.338 GB, free: 6.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.3268, allocations: 101.7 kB / 1.338 GB, free: 6.305 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.762e-05/0.3269, allocations: 12 kB / 1.338 GB, free: 6.293 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.3269, allocations: 30.56 kB / 1.338 GB, free: 6.254 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.3269, allocations: 4 kB / 1.338 GB, free: 6.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.002456/0.3294, allocations: 0.9094 MB / 1.339 GB, free: 5.324 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.3295, allocations: 85.05 kB / 1.339 GB, free: 5.223 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.3297, allocations: 211.8 kB / 1.339 GB, free: 5.004 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.3297, allocations: 29.7 kB / 1.339 GB, free: 4.969 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.3298, allocations: 176.4 kB / 1.339 GB, free: 4.789 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.954e-05/0.3299, allocations: 79.34 kB / 1.339 GB, free: 4.711 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.33, allocations: 65.64 kB / 1.339 GB, free: 4.641 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3301, allocations: 326.8 kB / 1.34 GB, free: 4.312 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.3304, allocations: 131.9 kB / 1.34 GB, free: 4.184 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.3306, allocations: 217.2 kB / 1.34 GB, free: 3.938 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/0.3311, allocations: 367.3 kB / 1.34 GB, free: 3.547 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3311, allocations: 4 kB / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008971/0.332, allocations: 0.5084 MB / 1.341 GB, free: 3.016 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.332, allocations: 4 kB / 1.341 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.332, allocations: 7.938 kB / 1.341 GB, free: 3.004 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005051/0.3325, allocations: 147.4 kB / 1.341 GB, free: 2.848 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.3328, allocations: 59.91 kB / 1.341 GB, free: 2.789 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003226/0.336, allocations: 3.983 MB / 1.345 GB, free: 14.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.3362, allocations: 27.97 kB / 1.345 GB, free: 14.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.3362, allocations: 12.09 kB / 1.345 GB, free: 14.48 MB / 1.045 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.0001799/0.3364, allocations: 176.7 kB / 1.345 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-05/0.3365, allocations: 23.86 kB / 1.345 GB, free: 14.28 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008663/0.3374, allocations: 474.6 kB / 1.346 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.3374, allocations: 4 kB / 1.346 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.3374, allocations: 0 / 1.346 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3374, allocations: 0 / 1.346 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.339, allocations: 0.9602 MB / 1.347 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.339, allocations: 7.938 kB / 1.347 GB, free: 12.74 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.3391, allocations: 27.98 kB / 1.347 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004071/0.3395, allocations: 151.2 kB / 1.347 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.3395, allocations: 8 kB / 1.347 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003116/0.3427, allocations: 3.953 MB / 1.351 GB, free: 8.312 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.3427, allocations: 7.938 kB / 1.351 GB, free: 8.305 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008576/0.3435, allocations: 0.6153 MB / 1.351 GB, free: 7.637 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.3436, allocations: 55.77 kB / 1.351 GB, free: 7.582 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.3437, allocations: 8 kB / 1.351 GB, free: 7.574 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.3439, allocations: 19.97 kB / 1.351 GB, free: 7.555 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.344, allocations: 23.91 kB / 1.351 GB, free: 7.531 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.344, allocations: 16 kB / 1.351 GB, free: 7.516 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00016/0.3441, allocations: 157.5 kB / 1.351 GB, free: 7.363 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3441, allocations: 0 / 1.351 GB, free: 7.363 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005295/0.3447, allocations: 95.81 kB / 1.352 GB, free: 7.27 MB / 1.045 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.001267/0.3459, allocations: 1.207 MB / 1.353 GB, free: 6 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009977/0.3469, allocations: 0.5636 MB / 1.353 GB, free: 5.41 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3469, allocations: 0 / 1.353 GB, free: 5.41 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00054/0.3475, allocations: 390.1 kB / 1.354 GB, free: 5.004 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.348, allocations: 55.23 kB / 1.354 GB, free: 4.957 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004363/0.3523, allocations: 3.328 MB / 1.357 GB, free: 1.41 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.3528, allocations: 0.7829 MB / 1.358 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001615/0.3529, allocations: 54.25 kB / 1.358 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.353, allocations: 75.41 kB / 1.358 GB, free: 484 kB / 1.045 GB Notification: Performance of SimCode: time 4.21e-07/0.353, allocations: 0 / 1.358 GB, free: 484 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03242/0.3855, allocations: 7.163 MB / 1.365 GB, free: 9.492 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.42, allocations: 8.156 kB / 1.365 GB, free: 9.492 MB / 1.061 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.930489526013844]