Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_9_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.004503/0.004503, allocations: 100.8 kB / 15.73 MB, free: 5.992 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.001004/0.001004, allocations: 196.3 kB / 16.67 MB, free: 5.93 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.244/2.244, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 65.45 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2355, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00428/0.2398, allocations: 3.071 MB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00276/0.2426, allocations: 1.909 MB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/0.2429, allocations: 8 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009522/0.2439, allocations: 278.9 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005514/0.2444, allocations: 195.1 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006927/0.2451, allocations: 247.2 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000376/0.2455, allocations: 322.7 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.2458, allocations: 179.8 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.246, allocations: 139.5 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.2462, allocations: 151.5 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.2463, allocations: 20 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000558/0.2468, allocations: 403.2 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.297e-05/0.2469, allocations: 87.78 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.2471, allocations: 119.4 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005571/0.2476, allocations: 487.5 kB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2476, allocations: 0 / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.966e-06/0.2476, allocations: 0 / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.2477, allocations: 3.938 kB / 1.095 GB, free: 10.42 MB / 0.8575 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.0009018/0.2486, allocations: 0.5653 MB / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.2486, allocations: 8.031 kB / 1.095 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.969e-05/0.2487, allocations: 54.73 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007793/0.2495, allocations: 108.5 kB / 1.096 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.2498, allocations: 269.3 kB / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.2498, allocations: 12.81 kB / 1.096 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.2499, allocations: 20.36 kB / 1.096 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004688/0.2503, allocations: 353.3 kB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2503, allocations: 0 / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.2504, allocations: 19.98 kB / 1.096 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/0.2504, allocations: 24.41 kB / 1.096 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004576/0.2509, allocations: 293.5 kB / 1.096 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.2528, allocations: 1.737 MB / 1.098 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.2532, allocations: 326.1 kB / 1.099 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.2534, allocations: 109.6 kB / 1.099 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.2535, allocations: 85.11 kB / 1.099 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.2536, allocations: 38.55 kB / 1.099 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.2536, allocations: 0 / 1.099 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23): time 0.002235/0.2558, allocations: 0.9678 MB / 1.1 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.2559, allocations: 81.05 kB / 1.1 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.256, allocations: 215.7 kB / 1.1 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.2561, allocations: 37.73 kB / 1.1 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/0.2562, allocations: 172.1 kB / 1.1 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.426e-05/0.2562, allocations: 78.89 kB / 1.1 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-05/0.2563, allocations: 61.7 kB / 1.1 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.2564, allocations: 330.8 kB / 1.101 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.2566, allocations: 127.9 kB / 1.101 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.2568, allocations: 205.4 kB / 1.101 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.2572, allocations: 369.8 kB / 1.101 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2572, allocations: 0 / 1.101 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007553/0.258, allocations: 0.5123 MB / 1.102 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.258, allocations: 8 kB / 1.102 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.258, allocations: 96 / 1.102 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004783/0.2585, allocations: 167.5 kB / 1.102 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.2588, allocations: 59.91 kB / 1.102 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002711/0.2615, allocations: 4.178 MB / 1.106 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.2617, allocations: 19.97 kB / 1.106 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.2617, allocations: 16 kB / 1.106 GB, free: 13.99 MB / 0.8731 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.0001531/0.2619, allocations: 177.7 kB / 1.106 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.403e-05/0.262, allocations: 27.66 kB / 1.106 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007712/0.2627, allocations: 470.5 kB / 1.107 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2628, allocations: 4 kB / 1.107 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2628, allocations: 4 kB / 1.107 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.2628, allocations: 7.969 kB / 1.107 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.2642, allocations: 0.9936 MB / 1.108 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2642, allocations: 0 / 1.108 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.2643, allocations: 35.92 kB / 1.108 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003626/0.2647, allocations: 139.6 kB / 1.108 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.2647, allocations: 11.94 kB / 1.108 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002461/0.2672, allocations: 4.151 MB / 1.112 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2672, allocations: 4.109 kB / 1.112 GB, free: 7.516 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006986/0.2679, allocations: 0.6254 MB / 1.113 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.268, allocations: 132.8 kB / 1.113 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.2681, allocations: 4 kB / 1.113 GB, free: 6.684 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.2683, allocations: 23.97 kB / 1.113 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.2683, allocations: 23.92 kB / 1.113 GB, free: 6.637 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.2683, allocations: 12 kB / 1.113 GB, free: 6.625 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001338/0.2685, allocations: 161.5 kB / 1.113 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2685, allocations: 0 / 1.113 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004618/0.269, allocations: 88 kB / 1.113 GB, free: 6.383 MB / 0.8731 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.000995/0.27, allocations: 1.189 MB / 1.114 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008413/0.2708, allocations: 0.5945 MB / 1.115 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2708, allocations: 0 / 1.115 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004553/0.2713, allocations: 400.5 kB / 1.115 GB, free: 4.094 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004681/0.2718, allocations: 42.73 kB / 1.115 GB, free: 4.055 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.2754, allocations: 3.328 MB / 1.118 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.2757, allocations: 0.7831 MB / 1.119 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001523/0.2759, allocations: 58.25 kB / 1.119 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.276, allocations: 71.41 kB / 1.119 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of SimCode: time 2.4e-07/0.276, allocations: 0 / 1.119 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.549/3.825, allocations: 6.703 MB / 1.126 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/15.61, allocations: 8.641 kB / 1.126 GB, free: 9.027 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches