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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 192.8 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.453/2.453, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.56 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2338, allocations: 157.4 MB / 1.052 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004122/0.238, allocations: 3.117 MB / 1.055 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002482/0.2405, allocations: 1.936 MB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.286e-05/0.2406, allocations: 7.938 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007405/0.2413, allocations: 259.1 kB / 1.057 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.2417, allocations: 183.3 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.2421, allocations: 207.5 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.2425, allocations: 446.7 kB / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000313/0.2428, allocations: 181.2 kB / 1.058 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.243, allocations: 119.5 kB / 1.058 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.2432, allocations: 151.5 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.2432, allocations: 12 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006016/0.2438, allocations: 475.1 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.159e-05/0.2439, allocations: 75.78 kB / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.2441, allocations: 119.3 kB / 1.059 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005128/0.2446, allocations: 498.6 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2446, allocations: 4 kB / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of FrontEnd: time 6.81e-07/0.2446, allocations: 0 / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.445e-06/0.2446, allocations: 0 / 1.06 GB, free: 464 kB / 0.8106 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.0007475/0.2454, allocations: 0.5613 MB / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2454, allocations: 15.97 kB / 1.06 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.047e-05/0.2455, allocations: 54.73 kB / 1.06 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007262/0.2462, allocations: 116.5 kB / 1.06 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.2465, allocations: 254 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.2465, allocations: 16.81 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.2466, allocations: 16.38 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004745/0.247, allocations: 357.1 kB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.2471, allocations: 4 kB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.2471, allocations: 11.98 kB / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/0.2471, allocations: 24.42 kB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.2476, allocations: 297.4 kB / 1.061 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.2495, allocations: 1.729 MB / 1.063 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/0.2499, allocations: 334 kB / 1.063 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.2501, allocations: 113.9 kB / 1.064 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.511e-05/0.2502, allocations: 85.11 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.2502, allocations: 34.5 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.2502, allocations: 0 / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.002251/0.2525, allocations: 0.9673 MB / 1.065 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.2525, allocations: 85.05 kB / 1.065 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.2527, allocations: 211.7 kB / 1.065 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.2527, allocations: 29.7 kB / 1.065 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.29e-05/0.2528, allocations: 176.1 kB / 1.065 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/0.2529, allocations: 90.86 kB / 1.065 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.43e-05/0.253, allocations: 53.7 kB / 1.065 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2531, allocations: 330.8 kB / 1.066 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.2533, allocations: 131.9 kB / 1.066 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.2535, allocations: 221.2 kB / 1.066 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.2539, allocations: 363.1 kB / 1.066 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2539, allocations: 4 kB / 1.066 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007886/0.2547, allocations: 0.5089 MB / 1.067 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2548, allocations: 5.562 kB / 1.067 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2548, allocations: 4 kB / 1.067 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004689/0.2552, allocations: 151.4 kB / 1.067 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.2555, allocations: 59.89 kB / 1.067 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/0.258, allocations: 3.961 MB / 1.071 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.2582, allocations: 15.98 kB / 1.071 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.2582, allocations: 19.98 kB / 1.071 GB, free: 4.262 MB / 0.8262 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.0001417/0.2584, allocations: 163.5 kB / 1.071 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.544e-05/0.2584, allocations: 23.72 kB / 1.071 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007811/0.2592, allocations: 485.7 kB / 1.071 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2592, allocations: 0 / 1.071 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2593, allocations: 8 kB / 1.071 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2593, allocations: 3.938 kB / 1.071 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.2606, allocations: 0.9959 MB / 1.072 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.2607, allocations: 4.25 kB / 1.072 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.2608, allocations: 35.98 kB / 1.072 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004165/0.2612, allocations: 147.2 kB / 1.073 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.2612, allocations: 8 kB / 1.073 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002391/0.2636, allocations: 3.954 MB / 1.076 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.209e-05/0.2637, allocations: 7.969 kB / 1.076 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007314/0.2644, allocations: 0.6217 MB / 1.077 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.2645, allocations: 128.7 kB / 1.077 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.2646, allocations: 4 kB / 1.077 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.2648, allocations: 23.98 kB / 1.077 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.2648, allocations: 23.91 kB / 1.077 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.2649, allocations: 12 kB / 1.077 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001341/0.265, allocations: 161.4 kB / 1.077 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.265, allocations: 0 / 1.077 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004554/0.2655, allocations: 92 kB / 1.078 GB, free: 12.87 MB / 0.8419 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.001091/0.2666, allocations: 1.199 MB / 1.079 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008669/0.2674, allocations: 0.5737 MB / 1.079 GB, free: 11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.2675, allocations: 3.938 kB / 1.079 GB, free: 11 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004933/0.268, allocations: 409.9 kB / 1.08 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.2685, allocations: 39.92 kB / 1.08 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003876/0.2723, allocations: 3.411 MB / 1.083 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.2727, allocations: 0.7869 MB / 1.084 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.2728, allocations: 58.23 kB / 1.084 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.273, allocations: 75.41 kB / 1.084 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.273, allocations: 0 / 1.084 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.29, allocations: 6.366 MB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.2903, allocations: 257.1 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.004, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) 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) Reference file matches