Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.001749/0.001749, 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.001714/0.001714, allocations: 195.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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.51/2.51, allocations: 469.8 MB / 0.7424 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 63.72 kB / 0.9087 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2673, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007568/0.2749, allocations: 6.08 MB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004563/0.2795, allocations: 3.157 MB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.2797, allocations: 27.81 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.2819, allocations: 0.9322 MB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008414/0.2828, allocations: 473.6 kB / 1.075 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009205/0.2837, allocations: 484.8 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001056/0.2848, allocations: 1.092 MB / 1.076 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008513/0.2856, allocations: 0.6352 MB / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004723/0.2861, allocations: 430.4 kB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005197/0.2866, allocations: 482.2 kB / 1.078 GB, free: 388 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.541e-05/0.2867, allocations: 60 kB / 1.078 GB, free: 328 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007251/0.2875, allocations: 487 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000255/0.2877, allocations: 283.2 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003566/0.2881, allocations: 398 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.2892, allocations: 1.164 MB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2892, allocations: 0 / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2893, allocations: 0 / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.2893, allocations: 4 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001464/0.2907, allocations: 1.052 MB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2908, allocations: 8.031 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001285/0.2909, allocations: 118.7 kB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.2922, allocations: 223.6 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006864/0.2929, allocations: 0.5337 MB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.293, allocations: 53.61 kB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.051e-05/0.2931, allocations: 60.38 kB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.2944, allocations: 1.026 MB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.2944, allocations: 11.92 kB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/0.2945, allocations: 28 kB / 1.083 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.082e-05/0.2946, allocations: 65.28 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009799/0.2956, allocations: 0.6918 MB / 1.084 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004769/0.3003, allocations: 5.756 MB / 1.089 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000797/0.3011, allocations: 0.598 MB / 1.09 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007297/0.3019, allocations: 424.6 kB / 1.09 GB, free: 2.684 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.3019, allocations: 4 kB / 1.09 GB, free: 2.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.3019, allocations: 34.56 kB / 1.09 GB, free: 2.637 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 1.774e-06/0.302, allocations: 0 / 1.09 GB, free: 2.637 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.004061/0.306, allocations: 2.053 MB / 1.092 GB, free: 500 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.3061, allocations: 55.41 kB / 1.092 GB, free: 432 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004368/0.3065, allocations: 462.7 kB / 1.093 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.3066, allocations: 29.7 kB / 1.093 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.3068, allocations: 391 kB / 1.093 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.3069, allocations: 157.8 kB / 1.093 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.3071, allocations: 102.2 kB / 1.093 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3072, allocations: 362.8 kB / 1.094 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003393/0.3076, allocations: 249.2 kB / 1.094 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.3081, allocations: 457 kB / 1.094 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008891/0.309, allocations: 0.7519 MB / 1.095 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.309, allocations: 4 kB / 1.095 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00174/0.3107, allocations: 1.066 MB / 1.096 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3108, allocations: 8 kB / 1.096 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.3108, allocations: 12.06 kB / 1.096 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009537/0.3117, allocations: 331 kB / 1.097 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.312, allocations: 99.81 kB / 1.097 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006869/0.3189, allocations: 7.526 MB / 1.104 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.3192, allocations: 32.02 kB / 1.104 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.3193, allocations: 28 kB / 1.104 GB, free: 3.594 MB / 0.8575 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002766/0.3196, allocations: 245.5 kB / 1.104 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.383e-05/0.3196, allocations: 55.34 kB / 1.104 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.3213, allocations: 0.9198 MB / 1.105 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.3213, allocations: 4 kB / 1.105 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3213, allocations: 4 kB / 1.105 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3213, allocations: 3.938 kB / 1.105 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.3237, allocations: 1.7 MB / 1.107 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.3238, allocations: 7.938 kB / 1.107 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.3239, allocations: 35.97 kB / 1.107 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008759/0.3248, allocations: 331.6 kB / 1.107 GB, free: 172 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.3248, allocations: 12 kB / 1.107 GB, free: 160 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006926/0.3318, allocations: 7.513 MB / 1.115 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.3318, allocations: 11.94 kB / 1.115 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.3334, allocations: 1.007 MB / 1.116 GB, free: 7.012 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.3336, allocations: 172.4 kB / 1.116 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.607e-05/0.3337, allocations: 12 kB / 1.116 GB, free: 6.812 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.3339, allocations: 19.97 kB / 1.116 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.182e-05/0.334, allocations: 35.95 kB / 1.116 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.3341, allocations: 12 kB / 1.116 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003136/0.3344, allocations: 318.8 kB / 1.116 GB, free: 6.438 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3344, allocations: 0 / 1.116 GB, free: 6.438 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006758/0.3351, allocations: 192 kB / 1.116 GB, free: 6.25 MB / 0.8731 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001865/0.3369, allocations: 1.573 MB / 1.118 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001779/0.3387, allocations: 1.242 MB / 1.119 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3387, allocations: 0 / 1.119 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.3399, allocations: 0.8625 MB / 1.12 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008965/0.3408, allocations: 212.7 kB / 1.12 GB, free: 2.211 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007675/0.3485, allocations: 5.961 MB / 1.126 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006055/0.3491, allocations: 0.992 MB / 1.127 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002959/0.3494, allocations: 101.2 kB / 1.127 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.3497, allocations: 223.4 kB / 1.127 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of SimCode: time 2.324e-06/0.3497, allocations: 0 / 1.127 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.446/5.795, allocations: 15.17 MB / 1.142 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/17.55, allocations: 6.672 kB / 1.142 GB, free: 11.63 MB / 0.9044 GB (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches