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.0008648/0.0008648, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008625/0.0008625, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8459/0.8459, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.671/1.671, allocations: 377.8 MB / 0.6221 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9809 GB, free: 2.625 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.246e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003409/0.003431, allocations: 3.039 MB / 0.9839 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002269/0.0057, allocations: 1.869 MB / 0.9857 GB, free: 13.69 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.005835, allocations: 4 kB / 0.9857 GB, free: 13.69 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006182/0.006453, allocations: 282.8 kB / 0.986 GB, free: 13.41 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003926/0.006846, allocations: 198.9 kB / 0.9862 GB, free: 13.21 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.007344, allocations: 254.9 kB / 0.9864 GB, free: 12.96 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.007661, allocations: 346.8 kB / 0.9868 GB, free: 12.62 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.007917, allocations: 149 kB / 0.9869 GB, free: 12.48 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.008141, allocations: 191.5 kB / 0.9871 GB, free: 12.29 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.008362, allocations: 135.6 kB / 0.9872 GB, free: 12.16 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.008389, allocations: 20 kB / 0.9872 GB, free: 12.14 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004343/0.008823, allocations: 379 kB / 0.9876 GB, free: 11.77 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.143e-05/0.008905, allocations: 91.73 kB / 0.9877 GB, free: 11.68 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.94e-05/0.008974, allocations: 87.75 kB / 0.9878 GB, free: 11.59 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004959/0.00947, allocations: 0.518 MB / 0.9883 GB, free: 11.07 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.009474, allocations: 4 kB / 0.9883 GB, free: 11.07 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.763e-06/0.009476, allocations: 0 / 0.9883 GB, free: 11.07 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.009481, allocations: 4 kB / 0.9883 GB, free: 11.06 MB / 0.948 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.0007008/0.01018, allocations: 497.2 kB / 0.9888 GB, free: 10.55 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.01022, allocations: 8.031 kB / 0.9888 GB, free: 10.54 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.891e-05/0.01027, allocations: 58.72 kB / 0.9888 GB, free: 10.47 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004403/0.01071, allocations: 116.6 kB / 0.9889 GB, free: 10.36 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.01097, allocations: 215.4 kB / 0.9891 GB, free: 10.12 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.01099, allocations: 16.86 kB / 0.9892 GB, free: 10.11 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.01101, allocations: 16.38 kB / 0.9892 GB, free: 10.09 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/0.01141, allocations: 405 kB / 0.9896 GB, free: 9.664 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.01142, allocations: 192 / 0.9896 GB, free: 9.664 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.01144, allocations: 12.12 kB / 0.9896 GB, free: 9.652 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-05/0.01148, allocations: 28.42 kB / 0.9896 GB, free: 9.621 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.01177, allocations: 297.7 kB / 0.9899 GB, free: 9.332 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.01333, allocations: 1.272 MB / 0.9911 GB, free: 7.988 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.01362, allocations: 237 kB / 0.9913 GB, free: 7.738 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.817e-05/0.01372, allocations: 101.7 kB / 0.9914 GB, free: 7.633 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-05/0.01377, allocations: 15.98 kB / 0.9915 GB, free: 7.617 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.0138, allocations: 38.56 kB / 0.9915 GB, free: 7.57 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 2.435e-06/0.0138, allocations: 0 / 0.9915 GB, free: 7.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.001506/0.01531, allocations: 0.8931 MB / 0.9924 GB, free: 6.66 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.01534, allocations: 81.14 kB / 0.9924 GB, free: 6.562 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.01551, allocations: 223.8 kB / 0.9927 GB, free: 6.332 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.01553, allocations: 25.7 kB / 0.9927 GB, free: 6.301 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.01561, allocations: 172.5 kB / 0.9928 GB, free: 6.129 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.01565, allocations: 87.27 kB / 0.9929 GB, free: 6.043 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.372e-05/0.01572, allocations: 65.64 kB / 0.993 GB, free: 5.973 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.833e-05/0.0158, allocations: 330.8 kB / 0.9933 GB, free: 5.641 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.01593, allocations: 131.9 kB / 0.9934 GB, free: 5.512 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.0161, allocations: 214.8 kB / 0.9936 GB, free: 5.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.0164, allocations: 359.6 kB / 0.994 GB, free: 4.887 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.0164, allocations: 4 kB / 0.994 GB, free: 4.883 MB / 0.948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005563/0.01695, allocations: 0.5159 MB / 0.9945 GB, free: 4.348 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.01697, allocations: 4 kB / 0.9945 GB, free: 4.344 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.01698, allocations: 4 kB / 0.9945 GB, free: 4.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003209/0.0173, allocations: 147.6 kB / 0.9946 GB, free: 4.184 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.01746, allocations: 59.91 kB / 0.9947 GB, free: 4.125 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.01971, allocations: 3.968 MB / 0.9986 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.01985, allocations: 15.98 kB / 0.9986 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.01987, allocations: 19.98 kB / 0.9986 GB, free: 15.84 MB / 0.9636 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.0001412/0.02001, allocations: 153.8 kB / 0.9988 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.02006, allocations: 27.8 kB / 0.9988 GB, free: 15.66 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005715/0.02063, allocations: 476.7 kB / 0.9992 GB, free: 15.17 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.02063, allocations: 7.938 kB / 0.9992 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.02064, allocations: 4 kB / 0.9992 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.02064, allocations: 0 / 0.9992 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.02168, allocations: 0.9469 MB / 1 GB, free: 14.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.02168, allocations: 96 / 1 GB, free: 14.12 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.841e-05/0.02176, allocations: 43.91 kB / 1 GB, free: 14.08 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000235/0.02199, allocations: 135.3 kB / 1 GB, free: 13.94 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.02201, allocations: 8.25 kB / 1 GB, free: 13.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.02377, allocations: 3.942 MB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.02377, allocations: 11.92 kB / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007376/0.02451, allocations: 0.6067 MB / 1.005 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.46e-05/0.0246, allocations: 47.83 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.02462, allocations: 11.98 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.02475, allocations: 27.86 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.02479, allocations: 19.97 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.0248, allocations: 8 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001136/0.02491, allocations: 161.6 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.02491, allocations: 0 / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003741/0.02529, allocations: 91.94 kB / 1.005 GB, free: 8.68 MB / 0.9636 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.0007943/0.02608, allocations: 1.209 MB / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006455/0.02673, allocations: 0.5672 MB / 1.007 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.02673, allocations: 0 / 1.007 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.02704, allocations: 390.3 kB / 1.007 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.02747, allocations: 53.22 kB / 1.007 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.03051, allocations: 3.309 MB / 1.011 GB, free: 2.84 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.03067, allocations: 173.2 kB / 1.011 GB, free: 2.652 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.0308, allocations: 70.22 kB / 1.011 GB, free: 2.586 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.233e-05/0.0309, allocations: 68.48 kB / 1.011 GB, free: 2.52 MB / 0.9636 GB Notification: Performance of SimCode: time 1.422e-06/0.0309, allocations: 0 / 1.011 GB, free: 2.52 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.05903, allocations: 7.499 MB / 1.018 GB, free: 11.21 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.019, allocations: 9.172 kB / 1.018 GB, free: 11.21 MB / 0.9792 GB " [Timeout remaining time 292] (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/jenkins/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: 11.83893099334091]