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.001306/0.001306, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001541/0.001541, allocations: 214.5 kB / 22.24 MB, free: 5.105 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.828 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.106/3.106, allocations: 0.49 GB / 0.7951 GB, free: 35.46 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",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.001997/0.001997, allocations: 66.81 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3301, allocations: 176.1 MB / 1.326 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005282/0.3353, allocations: 3.064 MB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003563/0.3389, allocations: 1.889 MB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.3391, allocations: 7.938 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009725/0.34, allocations: 279 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005068/0.3406, allocations: 191.1 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006957/0.3413, allocations: 263.1 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004289/0.3417, allocations: 326.9 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.342, allocations: 146.9 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.3423, allocations: 143.5 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003148/0.3426, allocations: 159.4 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.3426, allocations: 20 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006264/0.3432, allocations: 379.3 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.3434, allocations: 91.72 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.3435, allocations: 99.53 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006707/0.3441, allocations: 494.3 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3441, allocations: 8 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3441, allocations: 0 / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3442, allocations: 0 / 1.333 GB, free: 10.02 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.0008816/0.345, allocations: 0.5048 MB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3451, allocations: 8.031 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.436e-05/0.3451, allocations: 58.72 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007988/0.3459, allocations: 112.7 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.3463, allocations: 210.1 kB / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.3463, allocations: 16.8 kB / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.3464, allocations: 16.38 kB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006126/0.347, allocations: 408.2 kB / 1.334 GB, free: 8.602 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.347, allocations: 0 / 1.334 GB, free: 8.602 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/0.347, allocations: 12 kB / 1.334 GB, free: 8.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-05/0.3471, allocations: 20.42 kB / 1.334 GB, free: 8.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/0.3476, allocations: 301.4 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.3496, allocations: 1.268 MB / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/0.3501, allocations: 237 kB / 1.336 GB, free: 6.691 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.3502, allocations: 107.4 kB / 1.336 GB, free: 6.582 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-05/0.3503, allocations: 11.98 kB / 1.336 GB, free: 6.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.3504, allocations: 38.56 kB / 1.336 GB, free: 6.523 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.3504, allocations: 0 / 1.336 GB, free: 6.523 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.002463/0.3528, allocations: 0.8976 MB / 1.337 GB, free: 5.609 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.3529, allocations: 85.05 kB / 1.337 GB, free: 5.508 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.3531, allocations: 223.7 kB / 1.338 GB, free: 5.277 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.3532, allocations: 29.7 kB / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.3533, allocations: 176.4 kB / 1.338 GB, free: 5.062 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.766e-05/0.3534, allocations: 87.25 kB / 1.338 GB, free: 4.977 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.3535, allocations: 61.7 kB / 1.338 GB, free: 4.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3536, allocations: 330.8 kB / 1.338 GB, free: 4.578 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.3538, allocations: 128 kB / 1.338 GB, free: 4.453 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.3541, allocations: 217.1 kB / 1.339 GB, free: 4.207 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/0.3546, allocations: 371.3 kB / 1.339 GB, free: 3.812 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3546, allocations: 0 / 1.339 GB, free: 3.812 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008902/0.3555, allocations: 0.5081 MB / 1.339 GB, free: 3.285 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.3555, allocations: 11.98 kB / 1.339 GB, free: 3.273 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3555, allocations: 4 kB / 1.339 GB, free: 3.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005509/0.3561, allocations: 151.3 kB / 1.34 GB, free: 3.109 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.3563, allocations: 60.16 kB / 1.34 GB, free: 3.051 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003371/0.3597, allocations: 3.979 MB / 1.343 GB, free: 14.79 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.3599, allocations: 15.98 kB / 1.344 GB, free: 14.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.3599, allocations: 8 kB / 1.344 GB, free: 14.77 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.0002242/0.3602, allocations: 170.2 kB / 1.344 GB, free: 14.59 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/0.3603, allocations: 19.86 kB / 1.344 GB, free: 14.57 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009121/0.3612, allocations: 469.4 kB / 1.344 GB, free: 14.1 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.3612, allocations: 4 kB / 1.344 GB, free: 14.09 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.3612, allocations: 0 / 1.344 GB, free: 14.09 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3612, allocations: 3.984 kB / 1.344 GB, free: 14.09 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.3628, allocations: 0.95 MB / 1.345 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.3628, allocations: 4 kB / 1.345 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.363, allocations: 31.98 kB / 1.345 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004153/0.3634, allocations: 151.2 kB / 1.345 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.3634, allocations: 4.25 kB / 1.345 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003047/0.3664, allocations: 3.933 MB / 1.349 GB, free: 8.641 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.3664, allocations: 7.938 kB / 1.349 GB, free: 8.633 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008311/0.3673, allocations: 0.6177 MB / 1.35 GB, free: 7.961 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.3674, allocations: 55.77 kB / 1.35 GB, free: 7.906 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.3674, allocations: 8 kB / 1.35 GB, free: 7.898 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.3677, allocations: 23.91 kB / 1.35 GB, free: 7.875 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.3677, allocations: 23.97 kB / 1.35 GB, free: 7.852 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.3678, allocations: 8.047 kB / 1.35 GB, free: 7.844 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001576/0.3679, allocations: 161.6 kB / 1.35 GB, free: 7.688 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3679, allocations: 3.938 kB / 1.35 GB, free: 7.684 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005296/0.3684, allocations: 87.94 kB / 1.35 GB, free: 7.598 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.001266/0.3697, allocations: 1.199 MB / 1.351 GB, free: 6.332 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009736/0.3707, allocations: 0.5692 MB / 1.352 GB, free: 5.738 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.3707, allocations: 4 kB / 1.352 GB, free: 5.734 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005363/0.3712, allocations: 398.2 kB / 1.352 GB, free: 5.32 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.3717, allocations: 46.3 kB / 1.352 GB, free: 5.281 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/0.3761, allocations: 3.322 MB / 1.355 GB, free: 1.75 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.3763, allocations: 181 kB / 1.356 GB, free: 1.551 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.3765, allocations: 54.25 kB / 1.356 GB, free: 1.496 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.3766, allocations: 71.41 kB / 1.356 GB, free: 1.426 MB / 1.045 GB Notification: Performance of SimCode: time 9.92e-07/0.3766, allocations: 0 / 1.356 GB, free: 1.426 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0426/0.4192, allocations: 7.487 MB / 1.363 GB, free: 10.12 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.22, allocations: 5.312 kB / 1.363 GB, free: 10.12 MB / 1.061 GB " [Timeout remaining time 287] (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.76216672299779]