Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.0008776/0.0008776, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0009873/0.0009873, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.8821/0.8821, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.748/1.748, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.874e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.007681/0.0077, allocations: 9.474 MB / 1.009 GB, free: 3.945 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.004026/0.01173, allocations: 3.135 MB / 1.012 GB, free: 0.8008 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005984/0.01232, allocations: 47.62 kB / 1.012 GB, free: 0.7539 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.01351, allocations: 0.6022 MB / 1.013 GB, free: 152 kB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.01469, allocations: 0.7966 MB / 1.013 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.01583, allocations: 0.7463 MB / 1.014 GB, free: 14.6 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.002211/0.01804, allocations: 3.042 MB / 1.017 GB, free: 11.54 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.01947, allocations: 1.415 MB / 1.018 GB, free: 10.09 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001928/0.0214, allocations: 1.739 MB / 1.02 GB, free: 8.344 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/0.02295, allocations: 1.555 MB / 1.022 GB, free: 6.785 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0003394/0.02329, allocations: 236 kB / 1.022 GB, free: 6.555 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007645/0.02405, allocations: 495.2 kB / 1.022 GB, free: 6.07 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0007673/0.02482, allocations: 1.15 MB / 1.024 GB, free: 4.918 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.000795/0.02561, allocations: 0.7836 MB / 1.024 GB, free: 4.133 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002777/0.02839, allocations: 3.795 MB / 1.028 GB, free: 336 kB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.0284, allocations: 0 / 1.028 GB, free: 336 kB / 0.9792 GB Notification: Performance of FrontEnd: time 1.644e-06/0.0284, allocations: 0 / 1.028 GB, free: 336 kB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.756e-05/0.02846, allocations: 4 kB / 1.028 GB, free: 332 kB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003013/0.03147, allocations: 2.102 MB / 1.03 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.03151, allocations: 8.75 kB / 1.03 GB, free: 14.17 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002684/0.03178, allocations: 257.2 kB / 1.03 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004456/0.03624, allocations: 1.361 MB / 1.032 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.0381, allocations: 1.265 MB / 1.033 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.257e-05/0.03817, allocations: 119.4 kB / 1.033 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000272/0.03844, allocations: 148.3 kB / 1.033 GB, free: 10.99 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003892/0.04233, allocations: 3.52 MB / 1.037 GB, free: 7.355 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.04236, allocations: 4.125 kB / 1.037 GB, free: 7.352 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/0.04252, allocations: 72.09 kB / 1.037 GB, free: 7.281 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001697/0.04269, allocations: 203.1 kB / 1.037 GB, free: 7.082 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003452/0.04614, allocations: 3.116 MB / 1.04 GB, free: 3.961 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4055/0.4516, allocations: 10.06 MB / 1.05 GB, free: 75.41 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.4531, allocations: 1.604 MB / 1.051 GB, free: 74.89 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.4542, allocations: 1.331 MB / 1.053 GB, free: 74.46 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.006e-05/0.4543, allocations: 8.938 kB / 1.053 GB, free: 74.46 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.4543, allocations: 44.91 kB / 1.053 GB, free: 74.42 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=104): time 3.326e-06/0.4543, allocations: 0 / 1.053 GB, free: 74.42 MB / 0.9948 GB Notification: Performance of matching and sorting (n=183): time 0.07282/0.5272, allocations: 36.17 MB / 1.088 GB, free: 69.26 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.5272, allocations: 75.41 kB / 1.088 GB, free: 69.2 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.5284, allocations: 1.077 MB / 1.089 GB, free: 68.77 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003084/0.5287, allocations: 59.95 kB / 1.089 GB, free: 68.71 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.529, allocations: 0.8078 MB / 1.09 GB, free: 68.09 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004363/0.5295, allocations: 0.6463 MB / 1.091 GB, free: 67.58 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004999/0.53, allocations: 365.6 kB / 1.091 GB, free: 67.42 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.474e-05/0.53, allocations: 302.9 kB / 1.091 GB, free: 67.12 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/0.532, allocations: 1.933 MB / 1.093 GB, free: 66.46 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002247/0.5342, allocations: 2.29 MB / 1.095 GB, free: 65.42 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004404/0.5387, allocations: 4.39 MB / 1.1 GB, free: 63.5 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.5387, allocations: 2.25 kB / 1.1 GB, free: 63.5 MB / 0.9948 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01336/0.552, allocations: 8.88 MB / 1.108 GB, free: 60.89 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.5521, allocations: 9.844 kB / 1.108 GB, free: 60.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.5521, allocations: 9.75 kB / 1.108 GB, free: 60.89 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009828/0.5619, allocations: 4.966 MB / 1.113 GB, free: 59.95 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000571/0.5625, allocations: 191.7 kB / 1.113 GB, free: 59.91 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03084/0.5933, allocations: 37.99 MB / 1.15 GB, free: 30.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.5947, allocations: 103.9 kB / 1.151 GB, free: 30.68 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.5948, allocations: 64 kB / 1.151 GB, free: 30.62 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009071/0.5958, allocations: 0.8084 MB / 1.151 GB, free: 29.8 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.5959, allocations: 151 kB / 1.152 GB, free: 29.66 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/0.6062, allocations: 8.739 MB / 1.16 GB, free: 20.88 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.6062, allocations: 23.94 kB / 1.16 GB, free: 20.86 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.342e-05/0.6062, allocations: 28 kB / 1.16 GB, free: 20.83 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.212e-05/0.6063, allocations: 15.16 kB / 1.16 GB, free: 20.82 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/0.6205, allocations: 12.65 MB / 1.172 GB, free: 8.086 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.6205, allocations: 4 kB / 1.172 GB, free: 8.082 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.6208, allocations: 115.9 kB / 1.173 GB, free: 7.969 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008854/0.6297, allocations: 4.819 MB / 1.177 GB, free: 3.137 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002815/0.6299, allocations: 43.11 kB / 1.177 GB, free: 3.098 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0349/0.6648, allocations: 35.91 MB / 1.212 GB, free: 14.75 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.6649, allocations: 11.94 kB / 1.212 GB, free: 14.74 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0122/0.6771, allocations: 8.445 MB / 1.221 GB, free: 6.211 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/0.6781, allocations: 0.5731 MB / 1.221 GB, free: 5.637 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.6783, allocations: 43.89 kB / 1.221 GB, free: 5.594 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006903/0.679, allocations: 87.89 kB / 1.221 GB, free: 5.508 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006229/0.6796, allocations: 187.7 kB / 1.222 GB, free: 5.328 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.195e-05/0.6797, allocations: 40 kB / 1.222 GB, free: 5.289 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0006875/0.6804, allocations: 0.7421 MB / 1.222 GB, free: 4.535 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6804, allocations: 4 kB / 1.222 GB, free: 4.531 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.002239/0.6826, allocations: 1.008 MB / 1.223 GB, free: 3.523 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0115/0.6941, allocations: 9.034 MB / 1.232 GB, free: 10.39 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.006586/0.7007, allocations: 5.731 MB / 1.238 GB, free: 4.629 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.7007, allocations: 0 / 1.238 GB, free: 4.629 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.004939/0.7057, allocations: 3.77 MB / 1.241 GB, free: 0.8125 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.7068, allocations: 245.3 kB / 1.242 GB, free: 0.5898 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03829/0.745, allocations: 30.89 MB / 1.272 GB, free: 1.195 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/0.7464, allocations: 1.271 MB / 1.273 GB, free: 15.89 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.0005854/0.747, allocations: 357.8 kB / 1.273 GB, free: 15.54 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005495/0.7475, allocations: 0.6097 MB / 1.274 GB, free: 14.93 MB / 1.104 GB Notification: Performance of SimCode: time 1.482e-06/0.7475, allocations: 0 / 1.274 GB, free: 14.93 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09081/0.8383, allocations: 80.83 MB / 1.353 GB, free: 14.15 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.489/9.327, allocations: 14.06 kB / 1.353 GB, free: 14.14 MB / 1.182 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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: 13.428761304356158]