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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.007729/0.007729, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.002165/0.002165, allocations: 200.5 kB / 16.68 MB, free: 5.969 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.666/2.666, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 71.83 kB / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2837, allocations: 162.3 MB / 1.242 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004459/0.2882, allocations: 3.079 MB / 1.245 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002845/0.2911, allocations: 1.908 MB / 1.247 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.2912, allocations: 8 kB / 1.247 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008086/0.2921, allocations: 274.9 kB / 1.247 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004051/0.2925, allocations: 191.1 kB / 1.247 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005673/0.2931, allocations: 251.2 kB / 1.247 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003504/0.2934, allocations: 318.9 kB / 1.248 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003028/0.2937, allocations: 184.9 kB / 1.248 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.2939, allocations: 139.5 kB / 1.248 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.2942, allocations: 143.5 kB / 1.248 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.2942, allocations: 20 kB / 1.248 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005882/0.2948, allocations: 403.2 kB / 1.249 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.496e-05/0.2949, allocations: 87.78 kB / 1.249 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.2951, allocations: 119.4 kB / 1.249 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005993/0.2957, allocations: 494.3 kB / 1.249 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2957, allocations: 4 kB / 1.249 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.896e-06/0.2957, allocations: 0 / 1.249 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.2957, allocations: 7.938 kB / 1.249 GB, free: 2.246 MB / 0.9981 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.0008013/0.2965, allocations: 0.5646 MB / 1.25 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.2965, allocations: 8.031 kB / 1.25 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.668e-05/0.2966, allocations: 58.73 kB / 1.25 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007431/0.2974, allocations: 112.6 kB / 1.25 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.2977, allocations: 274.3 kB / 1.25 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.2978, allocations: 12.81 kB / 1.25 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.2978, allocations: 20.38 kB / 1.25 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/0.2983, allocations: 349.2 kB / 1.251 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.2983, allocations: 4 kB / 1.251 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.2984, allocations: 15.98 kB / 1.251 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.327e-05/0.2984, allocations: 24.42 kB / 1.251 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.2989, allocations: 297.5 kB / 1.251 GB, free: 424 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4701/0.769, allocations: 1.727 MB / 1.253 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/0.7695, allocations: 322.8 kB / 1.253 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.7696, allocations: 105.4 kB / 1.253 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.35e-05/0.7697, allocations: 87.53 kB / 1.253 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.7697, allocations: 40.75 kB / 1.253 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.7697, allocations: 1.844 kB / 1.253 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.002226/0.772, allocations: 0.9623 MB / 1.254 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.772, allocations: 80.08 kB / 1.254 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.7722, allocations: 216 kB / 1.254 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.7722, allocations: 34.27 kB / 1.254 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.7723, allocations: 169.4 kB / 1.255 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.7723, allocations: 88.05 kB / 1.255 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.814e-05/0.7724, allocations: 67.33 kB / 1.255 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.858e-05/0.7725, allocations: 328.3 kB / 1.255 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.7727, allocations: 136 kB / 1.255 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.7729, allocations: 208.2 kB / 1.255 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/0.7733, allocations: 379.4 kB / 1.256 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7733, allocations: 1.609 kB / 1.256 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007682/0.7741, allocations: 0.5081 MB / 1.256 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.7741, allocations: 12.14 kB / 1.256 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.7741, allocations: 2.5 kB / 1.256 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000465/0.7746, allocations: 157.8 kB / 1.256 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.7748, allocations: 56.73 kB / 1.256 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.7768, allocations: 4.187 MB / 1.26 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.777, allocations: 19.47 kB / 1.261 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.7771, allocations: 18.81 kB / 1.261 GB, free: 7.762 MB / 0.9981 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.000126/0.7772, allocations: 163.8 kB / 1.261 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.356e-05/0.7773, allocations: 20.11 kB / 1.261 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000752/0.778, allocations: 477 kB / 1.261 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.778, allocations: 7.125 kB / 1.261 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.778, allocations: 2.312 kB / 1.261 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7781, allocations: 1.359 kB / 1.261 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.7794, allocations: 1.001 MB / 1.262 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.7794, allocations: 3.094 kB / 1.262 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.7795, allocations: 38.23 kB / 1.262 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003552/0.7799, allocations: 149 kB / 1.262 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.7799, allocations: 11.41 kB / 1.262 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.7818, allocations: 4.155 MB / 1.266 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.7818, allocations: 5.938 kB / 1.266 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006542/0.7824, allocations: 0.6176 MB / 1.267 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.569e-05/0.7825, allocations: 126.2 kB / 1.267 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.7826, allocations: 10.48 kB / 1.267 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.7828, allocations: 24.73 kB / 1.267 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.7828, allocations: 26.77 kB / 1.267 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.7829, allocations: 7.906 kB / 1.267 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001139/0.783, allocations: 157.4 kB / 1.267 GB, free: 2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.783, allocations: 0.8438 kB / 1.267 GB, free: 2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004706/0.7834, allocations: 90.16 kB / 1.267 GB, free: 1.984 MB / 0.9981 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.001031/0.7845, allocations: 1.196 MB / 1.269 GB, free: 17 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008499/0.7854, allocations: 0.5816 MB / 1.269 GB, free: 16.66 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7854, allocations: 0 / 1.269 GB, free: 16.66 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004747/0.7858, allocations: 405 kB / 1.27 GB, free: 16.38 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.7863, allocations: 51.33 kB / 1.27 GB, free: 16.36 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003424/0.7898, allocations: 3.328 MB / 1.273 GB, free: 14.02 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.7902, allocations: 0.7797 MB / 1.274 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.7903, allocations: 57.69 kB / 1.274 GB, free: 13.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.7904, allocations: 74.27 kB / 1.274 GB, free: 13.25 MB / 1.014 GB Notification: Performance of SimCode: time 1.984e-06/0.7904, allocations: 0 / 1.274 GB, free: 13.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.077/3.868, allocations: 6.734 MB / 1.28 GB, free: 12.48 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.61/20.48, allocations: 12.25 kB / 1.28 GB, free: 12.47 MB / 1.014 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=400 --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