Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.004298/0.004302, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001001/0.001001, allocations: 197.4 kB / 16.67 MB, free: 5.977 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.271/2.271, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 67.83 kB / 0.9504 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.221, allocations: 140.4 MB / 1.087 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007515/0.2285, allocations: 6.742 MB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004197/0.2327, allocations: 3.028 MB / 1.097 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002495/0.233, allocations: 23.88 kB / 1.097 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002178/0.2352, allocations: 0.9546 MB / 1.098 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008566/0.2361, allocations: 0.5051 MB / 1.098 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008092/0.2369, allocations: 417.3 kB / 1.099 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001009/0.2379, allocations: 1.228 MB / 1.1 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000739/0.2386, allocations: 0.6572 MB / 1.101 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004479/0.2391, allocations: 478.3 kB / 1.101 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005284/0.2396, allocations: 0.5136 MB / 1.102 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.581e-05/0.2397, allocations: 72 kB / 1.102 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005298/0.2403, allocations: 375.2 kB / 1.102 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002467/0.2405, allocations: 311.2 kB / 1.102 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000374/0.2409, allocations: 449.7 kB / 1.103 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.2419, allocations: 1.212 MB / 1.104 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.242, allocations: 0 / 1.104 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.61e-07/0.242, allocations: 0 / 1.104 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.301e-05/0.242, allocations: 0 / 1.104 GB, free: 1.047 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001626/0.2436, allocations: 1.165 MB / 1.105 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 2.732e-05/0.2437, allocations: 12.03 kB / 1.105 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.2438, allocations: 118.7 kB / 1.105 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/0.2453, allocations: 239.6 kB / 1.105 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008429/0.2461, allocations: 0.5921 MB / 1.106 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.2462, allocations: 45.67 kB / 1.106 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.2463, allocations: 72.34 kB / 1.106 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.2476, allocations: 1.077 MB / 1.107 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.2476, allocations: 19.83 kB / 1.107 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.136e-05/0.2477, allocations: 35.98 kB / 1.107 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001433/0.2478, allocations: 81.25 kB / 1.107 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.2489, allocations: 0.7504 MB / 1.108 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004658/0.2536, allocations: 5.862 MB / 1.114 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009106/0.2545, allocations: 0.5593 MB / 1.114 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004086/0.2549, allocations: 326 kB / 1.115 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.255, allocations: 8.375 kB / 1.115 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.255, allocations: 43 kB / 1.115 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 1.533e-06/0.255, allocations: 0 / 1.115 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.003549/0.2586, allocations: 1.982 MB / 1.117 GB, free: 3.32 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.2586, allocations: 59.84 kB / 1.117 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.2591, allocations: 0.5509 MB / 1.117 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.2592, allocations: 37.7 kB / 1.117 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.2594, allocations: 410.9 kB / 1.118 GB, free: 2.238 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.2595, allocations: 173.6 kB / 1.118 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.2597, allocations: 130.4 kB / 1.118 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.2599, allocations: 382.7 kB / 1.118 GB, free: 1.551 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003883/0.2603, allocations: 269.9 kB / 1.119 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005104/0.2608, allocations: 493 kB / 1.119 GB, free: 0.707 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009641/0.2617, allocations: 0.8132 MB / 1.12 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.2618, allocations: 8 kB / 1.12 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001709/0.2635, allocations: 1.087 MB / 1.121 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2635, allocations: 8 kB / 1.121 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.2635, allocations: 7.984 kB / 1.121 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000786/0.2643, allocations: 283.5 kB / 1.121 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004668/0.2648, allocations: 123.8 kB / 1.121 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005969/0.2708, allocations: 7.13 MB / 1.128 GB, free: 6.562 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.2713, allocations: 39.97 kB / 1.128 GB, free: 6.523 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.2713, allocations: 28 kB / 1.128 GB, free: 6.496 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002849/0.2716, allocations: 261.5 kB / 1.129 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.2717, allocations: 71.16 kB / 1.129 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.2732, allocations: 0.8846 MB / 1.13 GB, free: 5.254 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.2733, allocations: 8 kB / 1.13 GB, free: 5.246 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2733, allocations: 4 kB / 1.13 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.2733, allocations: 3.984 kB / 1.13 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.2757, allocations: 1.724 MB / 1.131 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.2758, allocations: 7.875 kB / 1.131 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.276, allocations: 59.95 kB / 1.131 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007368/0.2768, allocations: 271.5 kB / 1.132 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.2768, allocations: 12 kB / 1.132 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00594/0.2828, allocations: 7.118 MB / 1.139 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2828, allocations: 0 / 1.139 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.2842, allocations: 0.9875 MB / 1.139 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.2845, allocations: 188.3 kB / 1.14 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.66e-05/0.2846, allocations: 15.94 kB / 1.14 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.285, allocations: 27.95 kB / 1.14 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.427e-05/0.2851, allocations: 43.89 kB / 1.14 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.2851, allocations: 15.94 kB / 1.14 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003927/0.2855, allocations: 387.1 kB / 1.14 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2855, allocations: 4 kB / 1.14 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000758/0.2863, allocations: 220 kB / 1.14 GB, free: 9.465 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001623/0.2879, allocations: 1.544 MB / 1.142 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001808/0.2897, allocations: 1.264 MB / 1.143 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.2898, allocations: 7.938 kB / 1.143 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.291, allocations: 0.8932 MB / 1.144 GB, free: 5.59 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009859/0.292, allocations: 226 kB / 1.144 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007706/0.2997, allocations: 6.355 MB / 1.15 GB, free: 14.68 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005241/0.3002, allocations: 1.005 MB / 1.151 GB, free: 13.65 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000342/0.3006, allocations: 122 kB / 1.151 GB, free: 13.53 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.3009, allocations: 251.3 kB / 1.152 GB, free: 13.29 MB / 0.92 GB Notification: Performance of SimCode: time 3.51e-07/0.3009, allocations: 0 / 1.152 GB, free: 13.29 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03954/0.3404, allocations: 17.37 MB / 1.169 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.703/10.04, allocations: 10.33 kB / 1.169 GB, free: 12.17 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches