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.0007756/0.0007756, 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.0007955/0.0007955, 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.843/0.843, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.633/1.633, allocations: 377.8 MB / 0.6221 GB, free: 8.668 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.573e-06/1.573e-06, allocations: 0 / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.24e-05, allocations: 6.281 kB / 0.9809 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00363/0.003652, allocations: 3.039 MB / 0.9839 GB, free: 15.56 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002234/0.005886, allocations: 1.869 MB / 0.9857 GB, free: 13.68 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.006055, allocations: 7.938 kB / 0.9857 GB, free: 13.67 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007254/0.00678, allocations: 282.8 kB / 0.986 GB, free: 13.39 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004777/0.007258, allocations: 194.8 kB / 0.9862 GB, free: 13.2 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.007881, allocations: 270.9 kB / 0.9864 GB, free: 12.94 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004143/0.008295, allocations: 326.9 kB / 0.9868 GB, free: 12.62 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.00861, allocations: 149.1 kB / 0.9869 GB, free: 12.47 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.008889, allocations: 191.5 kB / 0.9871 GB, free: 12.28 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.009147, allocations: 135.6 kB / 0.9872 GB, free: 12.15 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.00918, allocations: 23.94 kB / 0.9872 GB, free: 12.12 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000544/0.009724, allocations: 383 kB / 0.9876 GB, free: 11.75 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.009833, allocations: 99.7 kB / 0.9877 GB, free: 11.65 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.818e-05/0.009921, allocations: 75.84 kB / 0.9878 GB, free: 11.58 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006739/0.0106, allocations: 0.518 MB / 0.9883 GB, free: 11.06 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.0106, allocations: 4 kB / 0.9883 GB, free: 11.05 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.202e-06/0.0106, allocations: 0 / 0.9883 GB, free: 11.05 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.01061, allocations: 0 / 0.9883 GB, free: 11.05 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.0008215/0.01143, allocations: 0.4893 MB / 0.9888 GB, free: 10.54 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.01147, allocations: 12.03 kB / 0.9888 GB, free: 10.52 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.262e-05/0.01153, allocations: 66.72 kB / 0.9888 GB, free: 10.45 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004814/0.01201, allocations: 112.6 kB / 0.9889 GB, free: 10.34 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.0124, allocations: 199.2 kB / 0.9891 GB, free: 10.12 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.01242, allocations: 20.86 kB / 0.9892 GB, free: 10.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.01244, allocations: 20.36 kB / 0.9892 GB, free: 10.08 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004659/0.01291, allocations: 409 kB / 0.9896 GB, free: 9.648 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.01292, allocations: 192 / 0.9896 GB, free: 9.648 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.01294, allocations: 16.12 kB / 0.9896 GB, free: 9.633 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.943e-05/0.01298, allocations: 24.48 kB / 0.9896 GB, free: 9.605 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.01331, allocations: 289.8 kB / 0.9899 GB, free: 9.324 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.01475, allocations: 1.28 MB / 0.9911 GB, free: 7.973 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.01508, allocations: 233.1 kB / 0.9913 GB, free: 7.727 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.0152, allocations: 101.9 kB / 0.9914 GB, free: 7.621 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.242e-05/0.01528, allocations: 12.08 kB / 0.9915 GB, free: 7.609 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.01531, allocations: 46.44 kB / 0.9915 GB, free: 7.555 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/0.01531, allocations: 0 / 0.9915 GB, free: 7.555 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.001657/0.01697, allocations: 0.8927 MB / 0.9924 GB, free: 6.645 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.01701, allocations: 81.11 kB / 0.9925 GB, free: 6.547 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.01719, allocations: 215.8 kB / 0.9927 GB, free: 6.324 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.01721, allocations: 29.7 kB / 0.9927 GB, free: 6.289 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.01729, allocations: 172.5 kB / 0.9928 GB, free: 6.117 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.01733, allocations: 87.27 kB / 0.9929 GB, free: 6.031 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.297e-05/0.01741, allocations: 65.64 kB / 0.993 GB, free: 5.961 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.01749, allocations: 330.8 kB / 0.9933 GB, free: 5.629 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.01761, allocations: 132 kB / 0.9934 GB, free: 5.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.01777, allocations: 214.8 kB / 0.9936 GB, free: 5.258 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.01809, allocations: 363.3 kB / 0.994 GB, free: 4.871 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01809, allocations: 4 kB / 0.994 GB, free: 4.867 MB / 0.948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005558/0.01865, allocations: 0.5088 MB / 0.9945 GB, free: 4.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.01866, allocations: 4 kB / 0.9945 GB, free: 4.336 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.01867, allocations: 4 kB / 0.9945 GB, free: 4.332 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000342/0.01901, allocations: 155.6 kB / 0.9946 GB, free: 4.168 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.01917, allocations: 55.91 kB / 0.9947 GB, free: 4.113 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/0.02122, allocations: 3.964 MB / 0.9986 GB, free: 15.87 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.02136, allocations: 15.98 kB / 0.9986 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.02138, allocations: 15.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.0001409/0.02152, allocations: 162.1 kB / 0.9988 GB, free: 15.67 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.02156, allocations: 27.8 kB / 0.9988 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000558/0.02212, allocations: 480.5 kB / 0.9992 GB, free: 15.15 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.02213, allocations: 3.938 kB / 0.9992 GB, free: 15.15 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.02213, allocations: 8 kB / 0.9992 GB, free: 15.14 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.02214, allocations: 3.938 kB / 0.9993 GB, free: 15.14 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009956/0.02313, allocations: 0.9355 MB / 1 GB, free: 14.12 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.02313, allocations: 0 / 1 GB, free: 14.12 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.358e-05/0.02321, allocations: 39.91 kB / 1 GB, free: 14.08 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002236/0.02343, allocations: 139.6 kB / 1 GB, free: 13.93 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.02345, allocations: 4 kB / 1 GB, free: 13.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.02525, allocations: 3.949 MB / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.02525, allocations: 4.031 kB / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005479/0.0258, allocations: 0.6157 MB / 1.005 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.757e-05/0.02589, allocations: 47.83 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.02591, allocations: 12.25 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.02603, allocations: 31.8 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.02608, allocations: 23.91 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.02609, allocations: 11.98 kB / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.000102/0.02619, allocations: 153.5 kB / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.02619, allocations: 4 kB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003692/0.02656, allocations: 87.94 kB / 1.005 GB, free: 8.664 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.0007859/0.02735, allocations: 1.203 MB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000632/0.02798, allocations: 0.5662 MB / 1.007 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.02798, allocations: 4.062 kB / 1.007 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.02827, allocations: 385.1 kB / 1.007 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.02866, allocations: 58.45 kB / 1.007 GB, free: 6.352 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.03167, allocations: 3.313 MB / 1.011 GB, free: 2.82 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.03182, allocations: 173.2 kB / 1.011 GB, free: 2.633 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000141/0.03196, allocations: 62.23 kB / 1.011 GB, free: 2.574 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.171e-05/0.03204, allocations: 72.48 kB / 1.011 GB, free: 2.504 MB / 0.9636 GB Notification: Performance of SimCode: time 1.032e-06/0.03204, allocations: 0 / 1.011 GB, free: 2.504 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.06115, allocations: 7.495 MB / 1.018 GB, free: 11.21 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.29/8.351, allocations: 19.05 kB / 1.018 GB, free: 11.2 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable grid.P.real in file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable grid.P.real from file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable grid.P.apparent in file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable grid.P.apparent from file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable resistor.S[1] in file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable resistor.S[1] from file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable resistor.S[2] in file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable resistor.S[2] from file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.230270775035024]