Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001717/0.001717, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001908/0.001909, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.656/2.656, allocations: 469.8 MB / 0.7424 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 69.03 kB / 0.9087 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.247, allocations: 159.1 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007058/0.2541, allocations: 5.464 MB / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00409/0.2582, allocations: 2.619 MB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003667/0.2586, allocations: 23.81 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.2603, allocations: 0.6898 MB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008669/0.2611, allocations: 401.8 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008457/0.262, allocations: 391.6 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009469/0.2629, allocations: 0.9514 MB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005723/0.2635, allocations: 470.7 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003777/0.2639, allocations: 362.7 kB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004742/0.2644, allocations: 406.4 kB / 1.076 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.695e-05/0.2645, allocations: 51.94 kB / 1.076 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005853/0.2651, allocations: 359.3 kB / 1.076 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000245/0.2653, allocations: 247.4 kB / 1.076 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.2657, allocations: 346.2 kB / 1.077 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000932/0.2666, allocations: 0.9656 MB / 1.077 GB, free: 468 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.2666, allocations: 0 / 1.077 GB, free: 468 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2666, allocations: 0 / 1.077 GB, free: 468 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.2666, allocations: 0 / 1.077 GB, free: 468 kB / 0.8262 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.001438/0.2681, allocations: 0.9715 MB / 1.078 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.2681, allocations: 8.031 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.2682, allocations: 98.7 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.2695, allocations: 207.7 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006303/0.2701, allocations: 486.5 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.2701, allocations: 33.38 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.2703, allocations: 60.45 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.2714, allocations: 0.8278 MB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.2714, allocations: 3.938 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/0.2715, allocations: 27.94 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000175/0.2716, allocations: 64.94 kB / 1.08 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000843/0.2725, allocations: 0.5697 MB / 1.081 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004243/0.2767, allocations: 4.581 MB / 1.085 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/0.2772, allocations: 307.2 kB / 1.085 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.2775, allocations: 233.2 kB / 1.086 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.2775, allocations: 8.281 kB / 1.086 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.2776, allocations: 30.84 kB / 1.086 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 1.352e-06/0.2776, allocations: 0 / 1.086 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.005235/0.2828, allocations: 2.63 MB / 1.088 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.2829, allocations: 55.41 kB / 1.088 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/0.2833, allocations: 461.9 kB / 1.089 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.2834, allocations: 29.7 kB / 1.089 GB, free: 4.098 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.2836, allocations: 335.7 kB / 1.089 GB, free: 3.762 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.2837, allocations: 149.9 kB / 1.089 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.2839, allocations: 106.2 kB / 1.089 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2841, allocations: 362.8 kB / 1.09 GB, free: 3.141 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/0.2844, allocations: 241 kB / 1.09 GB, free: 2.902 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004659/0.2849, allocations: 412.8 kB / 1.09 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008547/0.2858, allocations: 0.67 MB / 1.091 GB, free: 1.688 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.2858, allocations: 7.938 kB / 1.091 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001579/0.2874, allocations: 0.925 MB / 1.092 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2874, allocations: 8 kB / 1.092 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.2874, allocations: 4 kB / 1.092 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00073/0.2881, allocations: 230.6 kB / 1.092 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/0.2886, allocations: 107.9 kB / 1.092 GB, free: 396 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005168/0.2938, allocations: 5.343 MB / 1.097 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003859/0.2942, allocations: 31.97 kB / 1.098 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/0.2942, allocations: 24 kB / 1.098 GB, free: 10.57 MB / 0.8575 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.0002782/0.2945, allocations: 229.7 kB / 1.098 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.932e-05/0.2946, allocations: 59.28 kB / 1.098 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.296, allocations: 0.7773 MB / 1.099 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2961, allocations: 4 kB / 1.099 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.2961, allocations: 0 / 1.099 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.2961, allocations: 144 / 1.099 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/0.2984, allocations: 1.498 MB / 1.1 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2984, allocations: 4 kB / 1.1 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/0.2987, allocations: 71.88 kB / 1.1 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006253/0.2994, allocations: 202.5 kB / 1.1 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.2994, allocations: 8 kB / 1.1 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004915/0.3043, allocations: 5.286 MB / 1.105 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.3043, allocations: 4.031 kB / 1.105 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.306, allocations: 1.135 MB / 1.107 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.3062, allocations: 172.4 kB / 1.107 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.3063, allocations: 15.98 kB / 1.107 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.3066, allocations: 23.97 kB / 1.107 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.3067, allocations: 39.89 kB / 1.107 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.3067, allocations: 8 kB / 1.107 GB, free: 444 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003233/0.307, allocations: 314.9 kB / 1.107 GB, free: 132 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.307, allocations: 0 / 1.107 GB, free: 132 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006233/0.3077, allocations: 168 kB / 1.107 GB, free: 15.96 MB / 0.8731 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.002045/0.3097, allocations: 1.688 MB / 1.109 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001636/0.3114, allocations: 1.051 MB / 1.11 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3114, allocations: 0 / 1.11 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009447/0.3123, allocations: 0.6837 MB / 1.111 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008037/0.3131, allocations: 170.6 kB / 1.111 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007508/0.3207, allocations: 5.691 MB / 1.116 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/0.3213, allocations: 0.9531 MB / 1.117 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003683/0.3217, allocations: 117 kB / 1.117 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.3219, allocations: 203.4 kB / 1.118 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of SimCode: time 4.61e-07/0.322, allocations: 4 kB / 1.118 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.546/1.868, allocations: 13.92 MB / 1.131 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.58/18.45, allocations: 4.641 kB / 1.131 GB, free: 7.277 MB / 0.8887 GB (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches