Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_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.0008382/0.0008383, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005319/0.005319, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.272/1.272, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.586/2.586, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003429, allocations: 13.03 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2941, allocations: 159.6 MB / 1.059 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007159/0.3013, allocations: 5.744 MB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005315/0.3066, allocations: 3.157 MB / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006466/0.3073, allocations: 27.81 kB / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005006/0.3078, allocations: 122.9 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.3092, allocations: 446 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.3106, allocations: 454.4 kB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001831/0.3124, allocations: 1.47 MB / 1.07 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.3143, allocations: 0.9844 MB / 1.071 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007413/0.315, allocations: 358.3 kB / 1.071 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008401/0.3159, allocations: 454.1 kB / 1.072 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.316, allocations: 28 kB / 1.072 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.3172, allocations: 0.5769 MB / 1.072 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003542/0.3176, allocations: 255.2 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000554/0.3181, allocations: 387.7 kB / 1.073 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.3197, allocations: 1.172 MB / 1.074 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3197, allocations: 0 / 1.074 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3198, allocations: 0 / 1.074 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.355e-05/0.3198, allocations: 0 / 1.074 GB, free: 5.152 MB / 0.8262 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.001754/0.3216, allocations: 0.9116 MB / 1.075 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3216, allocations: 11.97 kB / 1.075 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002257/0.3219, allocations: 118.7 kB / 1.075 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.3234, allocations: 227.6 kB / 1.075 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000919/0.3244, allocations: 0.5414 MB / 1.076 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.261e-05/0.3244, allocations: 45.67 kB / 1.076 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.3246, allocations: 64.34 kB / 1.076 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.3261, allocations: 1.03 MB / 1.077 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.892e-05/0.3262, allocations: 7.938 kB / 1.077 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-05/0.3262, allocations: 31.98 kB / 1.077 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.728e-05/0.3263, allocations: 65.27 kB / 1.077 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.3275, allocations: 0.6918 MB / 1.078 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005298/0.3328, allocations: 5.76 MB / 1.083 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008401/0.3336, allocations: 0.5981 MB / 1.084 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007597/0.3344, allocations: 424.6 kB / 1.084 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.3344, allocations: 4 kB / 1.084 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.3345, allocations: 34.56 kB / 1.084 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 1.563e-06/0.3345, allocations: 0 / 1.084 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.004421/0.3389, allocations: 2.081 MB / 1.086 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.339, allocations: 55.41 kB / 1.086 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005184/0.3395, allocations: 458.8 kB / 1.087 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.3395, allocations: 45.58 kB / 1.087 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.3398, allocations: 387 kB / 1.087 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.34, allocations: 149.9 kB / 1.087 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.461e-05/0.3401, allocations: 53.7 kB / 1.087 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3402, allocations: 366.8 kB / 1.088 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.3406, allocations: 245.2 kB / 1.088 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005023/0.3411, allocations: 453 kB / 1.088 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009694/0.3421, allocations: 0.7556 MB / 1.089 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3421, allocations: 0 / 1.089 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001922/0.344, allocations: 1.069 MB / 1.09 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.3441, allocations: 8 kB / 1.09 GB, free: 3.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.3441, allocations: 8 kB / 1.09 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.3451, allocations: 339.6 kB / 1.091 GB, free: 3.121 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.3454, allocations: 95.83 kB / 1.091 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006992/0.3524, allocations: 6.943 MB / 1.097 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.3528, allocations: 27.98 kB / 1.097 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.747e-05/0.3529, allocations: 24.09 kB / 1.097 GB, free: 11.5 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.0003296/0.3532, allocations: 257.4 kB / 1.098 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-05/0.3533, allocations: 63.23 kB / 1.098 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.3551, allocations: 0.9117 MB / 1.099 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3551, allocations: 4 kB / 1.099 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.3551, allocations: 8 kB / 1.099 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.3551, allocations: 3.984 kB / 1.099 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.3578, allocations: 1.712 MB / 1.1 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3578, allocations: 0 / 1.1 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.358, allocations: 47.84 kB / 1.1 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009067/0.3589, allocations: 319.2 kB / 1.101 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.3589, allocations: 8.062 kB / 1.101 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006407/0.3653, allocations: 6.951 MB / 1.108 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.3653, allocations: 4.281 kB / 1.108 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.367, allocations: 1.003 MB / 1.108 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.3672, allocations: 172.3 kB / 1.109 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.478e-05/0.3673, allocations: 15.94 kB / 1.109 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.3676, allocations: 23.97 kB / 1.109 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.3677, allocations: 43.83 kB / 1.109 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.3677, allocations: 15.98 kB / 1.109 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003459/0.3681, allocations: 306.9 kB / 1.109 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.21e-07/0.3681, allocations: 4 kB / 1.109 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007523/0.3688, allocations: 192 kB / 1.109 GB, free: 14.72 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.001942/0.3708, allocations: 1.561 MB / 1.111 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001838/0.3726, allocations: 1.203 MB / 1.112 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.3727, allocations: 3.938 kB / 1.112 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.3738, allocations: 0.87 MB / 1.113 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.3749, allocations: 186.8 kB / 1.113 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008548/0.3835, allocations: 6.293 MB / 1.119 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006359/0.3841, allocations: 0.9998 MB / 1.12 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003064/0.3844, allocations: 101.2 kB / 1.12 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.3847, allocations: 227.4 kB / 1.12 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/0.3847, allocations: 0 / 1.12 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.4146, allocations: 14.56 MB / 1.135 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/0.4149, allocations: 255.7 kB / 1.135 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/2.419, allocations: 5.812 kB / 1.135 GB, free: 4.273 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches