Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008049/0.0008049, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008911/0.0008911, allocations: 165.9 kB / 22.46 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8516/0.8516, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.616/1.616, allocations: 359 MB / 0.6037 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019e-05/1.15e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.009177/0.009188, allocations: 13.1 MB / 0.9633 GB, free: 6.305 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.008108/0.0173, allocations: 9.006 MB / 0.9721 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000667/0.01796, allocations: 87.25 kB / 0.9722 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.01983, allocations: 1.669 MB / 0.9738 GB, free: 11.51 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002448/0.02227, allocations: 1.622 MB / 0.9754 GB, free: 9.887 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.02335, allocations: 0.7675 MB / 0.9761 GB, free: 9.117 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001776/0.02512, allocations: 2.601 MB / 0.9787 GB, free: 6.504 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.02613, allocations: 1.18 MB / 0.9798 GB, free: 5.289 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.0274, allocations: 1.578 MB / 0.9814 GB, free: 3.707 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.02855, allocations: 0.9582 MB / 0.9823 GB, free: 2.746 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002358/0.02879, allocations: 160 kB / 0.9825 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.02986, allocations: 0.7404 MB / 0.9832 GB, free: 1.848 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0005263/0.03038, allocations: 0.6464 MB / 0.9838 GB, free: 1.199 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0007693/0.03115, allocations: 0.6391 MB / 0.9844 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002708/0.03386, allocations: 2.78 MB / 0.9872 GB, free: 13.77 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.03387, allocations: 0 / 0.9872 GB, free: 13.77 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.422e-06/0.03387, allocations: 0 / 0.9872 GB, free: 13.77 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.03389, allocations: 0 / 0.9872 GB, free: 13.77 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002958/0.03684, allocations: 2.089 MB / 0.9892 GB, free: 11.64 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.03688, allocations: 12.03 kB / 0.9892 GB, free: 11.63 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002102/0.03709, allocations: 194.4 kB / 0.9894 GB, free: 11.43 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006514/0.04361, allocations: 2.09 MB / 0.9914 GB, free: 9.336 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.04492, allocations: 1.172 MB / 0.9926 GB, free: 8.113 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.732e-05/0.04497, allocations: 98.67 kB / 0.9927 GB, free: 8.016 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.04513, allocations: 116.4 kB / 0.9928 GB, free: 7.902 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003271/0.04841, allocations: 2.897 MB / 0.9956 GB, free: 4.809 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.04844, allocations: 15.89 kB / 0.9956 GB, free: 4.793 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.04856, allocations: 51.98 kB / 0.9957 GB, free: 4.742 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003071/0.04887, allocations: 178.1 kB / 0.9958 GB, free: 4.566 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003947/0.05282, allocations: 2.791 MB / 0.9986 GB, free: 1.766 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007791/0.06061, allocations: 8.328 MB / 1.007 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003447/0.06405, allocations: 2.223 MB / 1.009 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/0.06569, allocations: 1.214 MB / 1.01 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.05e-05/0.06574, allocations: 13 kB / 1.01 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.06576, allocations: 43.56 kB / 1.01 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=89): time 2.024e-06/0.06577, allocations: 0 / 1.01 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of matching and sorting (n=131): time 0.02224/0.08801, allocations: 12.66 MB / 1.022 GB, free: 9.039 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.08805, allocations: 64.72 kB / 1.023 GB, free: 8.965 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.08909, allocations: 1.136 MB / 1.024 GB, free: 7.812 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-05/0.08917, allocations: 49.7 kB / 1.024 GB, free: 7.758 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.08953, allocations: 0.7209 MB / 1.024 GB, free: 7.031 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003891/0.08992, allocations: 475.9 kB / 1.025 GB, free: 6.562 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003042/0.09023, allocations: 263.5 kB / 1.025 GB, free: 6.297 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.921e-05/0.09032, allocations: 361.9 kB / 1.025 GB, free: 5.938 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.09211, allocations: 1.335 MB / 1.027 GB, free: 4.602 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/0.09398, allocations: 1.608 MB / 1.028 GB, free: 2.895 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003668/0.09764, allocations: 2.987 MB / 1.031 GB, free: 15.81 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.09765, allocations: 4 kB / 1.031 GB, free: 15.81 MB / 0.9948 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006263/0.1039, allocations: 4.401 MB / 1.036 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.1039, allocations: 12.11 kB / 1.036 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.1039, allocations: 15.94 kB / 1.036 GB, free: 11.33 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002608/0.1066, allocations: 1.423 MB / 1.037 GB, free: 9.863 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009615/0.1075, allocations: 439.2 kB / 1.037 GB, free: 9.434 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4044/0.5119, allocations: 25.07 MB / 1.062 GB, free: 96.17 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.5133, allocations: 312 kB / 1.062 GB, free: 96.17 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-05/0.5134, allocations: 57.7 kB / 1.062 GB, free: 96.17 MB / 0.9948 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005732/0.5139, allocations: 440.4 kB / 1.063 GB, free: 96.05 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.5141, allocations: 170.1 kB / 1.063 GB, free: 96.05 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005646/0.5197, allocations: 4.411 MB / 1.067 GB, free: 95.83 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.5198, allocations: 14.88 kB / 1.067 GB, free: 95.83 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.5198, allocations: 11.69 kB / 1.067 GB, free: 95.83 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.5198, allocations: 6.703 kB / 1.067 GB, free: 95.83 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007315/0.5271, allocations: 6.291 MB / 1.073 GB, free: 93.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.5271, allocations: 6.719 kB / 1.073 GB, free: 93.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007966/0.5279, allocations: 383.3 kB / 1.074 GB, free: 93.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002173/0.5301, allocations: 1.302 MB / 1.075 GB, free: 93.47 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.81e-05/0.5301, allocations: 35.69 kB / 1.075 GB, free: 93.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01122/0.5414, allocations: 23.95 MB / 1.098 GB, free: 73.97 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5414, allocations: 3.156 kB / 1.098 GB, free: 73.97 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005628/0.547, allocations: 4.159 MB / 1.102 GB, free: 72.54 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005618/0.5475, allocations: 389.5 kB / 1.103 GB, free: 72.35 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.5477, allocations: 25.12 kB / 1.103 GB, free: 72.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.5487, allocations: 309.3 kB / 1.103 GB, free: 72.32 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003245/0.549, allocations: 135.7 kB / 1.103 GB, free: 72.29 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.1e-05/0.5491, allocations: 56.58 kB / 1.103 GB, free: 72.28 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007092/0.5498, allocations: 0.7505 MB / 1.104 GB, free: 71.98 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.5498, allocations: 0 / 1.104 GB, free: 71.98 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001336/0.5511, allocations: 0.5669 MB / 1.105 GB, free: 71.93 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006129/0.5573, allocations: 4.742 MB / 1.109 GB, free: 69.95 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005893/0.5632, allocations: 4.966 MB / 1.114 GB, free: 67.55 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5632, allocations: 1.25 kB / 1.114 GB, free: 67.55 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003793/0.567, allocations: 3.417 MB / 1.117 GB, free: 65.54 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.5685, allocations: 0.5519 MB / 1.118 GB, free: 65.35 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02454/0.593, allocations: 19.37 MB / 1.137 GB, free: 57.71 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009124/0.5939, allocations: 0.884 MB / 1.138 GB, free: 57.49 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.00109/0.595, allocations: 423.9 kB / 1.138 GB, free: 57.34 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005775/0.5956, allocations: 0.6352 MB / 1.139 GB, free: 56.85 MB / 0.9948 GB Notification: Performance of SimCode: time 9.52e-07/0.5956, allocations: 0 / 1.139 GB, free: 56.85 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07296/0.6685, allocations: 56.47 MB / 1.194 GB, free: 19.09 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/8.587, allocations: 9.156 kB / 1.194 GB, free: 19.09 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.429210783913732]