Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.006111/0.006111, allocations: 98.39 kB / 15.73 MB, free: 6.43 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.0017/0.0017, allocations: 191.8 kB / 16.67 MB, free: 6.336 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.329/2.329, allocations: 437.1 MB / 0.7106 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 67.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2331, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006198/0.2393, allocations: 5.474 MB / 1.172 GB, free: 1.758 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003403/0.2427, allocations: 2.622 MB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.2429, allocations: 23.81 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.2444, allocations: 0.6769 MB / 1.175 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006186/0.2451, allocations: 401.8 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006709/0.2457, allocations: 395.1 kB / 1.176 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008473/0.2466, allocations: 0.9552 MB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000529/0.2471, allocations: 466.7 kB / 1.177 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003512/0.2475, allocations: 366.7 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004448/0.2479, allocations: 402.4 kB / 1.178 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.214e-05/0.248, allocations: 48 kB / 1.178 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004907/0.2485, allocations: 367.2 kB / 1.178 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002229/0.2487, allocations: 251.3 kB / 1.178 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003043/0.2491, allocations: 354.1 kB / 1.179 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009174/0.25, allocations: 0.9689 MB / 1.18 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.25, allocations: 0 / 1.18 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.052e-06/0.25, allocations: 0 / 1.18 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.25, allocations: 4 kB / 1.18 GB, free: 9.488 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001299/0.2513, allocations: 0.9884 MB / 1.181 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.667e-05/0.2514, allocations: 8.031 kB / 1.181 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.2515, allocations: 102.7 kB / 1.181 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.2526, allocations: 196.3 kB / 1.181 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006647/0.2533, allocations: 0.5222 MB / 1.181 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.2533, allocations: 33.38 kB / 1.181 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.2535, allocations: 64.48 kB / 1.181 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.2545, allocations: 0.8277 MB / 1.182 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.2545, allocations: 11.98 kB / 1.182 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/0.2546, allocations: 24 kB / 1.182 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/0.2548, allocations: 60.95 kB / 1.182 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007954/0.2556, allocations: 0.5735 MB / 1.183 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003873/0.2594, allocations: 4.582 MB / 1.187 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.2599, allocations: 295.3 kB / 1.188 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.2601, allocations: 225.3 kB / 1.188 GB, free: 468 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.2602, allocations: 4.281 kB / 1.188 GB, free: 464 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.2602, allocations: 34.84 kB / 1.188 GB, free: 420 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 1.222e-06/0.2602, allocations: 0 / 1.188 GB, free: 420 kB / 0.9356 GB Notification: Performance of matching and sorting (n=40): time 0.004906/0.2651, allocations: 2.635 MB / 1.19 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.2652, allocations: 59.39 kB / 1.191 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004203/0.2656, allocations: 458 kB / 1.191 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.2656, allocations: 29.7 kB / 1.191 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.2659, allocations: 360.4 kB / 1.191 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.266, allocations: 150.7 kB / 1.191 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.2661, allocations: 106.2 kB / 1.192 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2663, allocations: 362.8 kB / 1.192 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.2666, allocations: 241 kB / 1.192 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/0.2671, allocations: 402.5 kB / 1.193 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008104/0.2679, allocations: 0.6739 MB / 1.193 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2679, allocations: 7.938 kB / 1.193 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0015/0.2694, allocations: 0.9253 MB / 1.194 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2694, allocations: 8 kB / 1.194 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.2694, allocations: 4 kB / 1.194 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006809/0.2701, allocations: 234.6 kB / 1.194 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/0.2705, allocations: 115.8 kB / 1.194 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004745/0.2753, allocations: 5.344 MB / 1.2 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.2756, allocations: 35.97 kB / 1.2 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.2757, allocations: 24 kB / 1.2 GB, free: 3.523 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002261/0.2759, allocations: 221.7 kB / 1.2 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-05/0.276, allocations: 59.61 kB / 1.2 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.2774, allocations: 0.7811 MB / 1.201 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.2774, allocations: 4 kB / 1.201 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2774, allocations: 0 / 1.201 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2774, allocations: 7.922 kB / 1.201 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.2795, allocations: 1.495 MB / 1.202 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2795, allocations: 4.031 kB / 1.202 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/0.2799, allocations: 59.95 kB / 1.202 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005939/0.2805, allocations: 210.3 kB / 1.203 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.2805, allocations: 12 kB / 1.203 GB, free: 0.5508 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004554/0.2851, allocations: 5.275 MB / 1.208 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.2851, allocations: 12.19 kB / 1.208 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.2867, allocations: 1.116 MB / 1.209 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.2869, allocations: 192.6 kB / 1.209 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.315e-05/0.2869, allocations: 12 kB / 1.209 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.2872, allocations: 23.97 kB / 1.209 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.2873, allocations: 35.95 kB / 1.209 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.2873, allocations: 8 kB / 1.209 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002974/0.2876, allocations: 314.9 kB / 1.209 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2876, allocations: 0 / 1.209 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005052/0.2881, allocations: 172 kB / 1.21 GB, free: 8.926 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001881/0.29, allocations: 1.7 MB / 1.211 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001385/0.2914, allocations: 1.004 MB / 1.212 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2914, allocations: 4.125 kB / 1.212 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008765/0.2923, allocations: 0.6875 MB / 1.213 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/0.2931, allocations: 173.5 kB / 1.213 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006654/0.2997, allocations: 5.623 MB / 1.218 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.3003, allocations: 0.9494 MB / 1.219 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002601/0.3005, allocations: 109 kB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.3008, allocations: 211.4 kB / 1.22 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of SimCode: time 2.01e-07/0.3008, allocations: 0 / 1.22 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.557/7.858, allocations: 14.11 MB / 1.233 GB, free: 180 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.65/32.5, allocations: 11.92 kB / 1.233 GB, free: 172 kB / 0.9825 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches