Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.0007645/0.0007645, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007755/0.0007755, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8446/0.8446, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.671/1.671, allocations: 377.8 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/1.999e-05, allocations: 2.281 kB / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.007519/0.007539, allocations: 9.497 MB / 0.9902 GB, free: 9.012 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003208/0.01075, allocations: 3.005 MB / 0.9932 GB, free: 5.996 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003346/0.01108, allocations: 43.69 kB / 0.9932 GB, free: 5.953 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.01219, allocations: 0.6935 MB / 0.9939 GB, free: 5.258 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008331/0.01303, allocations: 0.7498 MB / 0.9946 GB, free: 4.504 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008082/0.01384, allocations: 0.6428 MB / 0.9953 GB, free: 3.863 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001797/0.01563, allocations: 2.78 MB / 0.998 GB, free: 1.078 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.01683, allocations: 1.364 MB / 0.9993 GB, free: 15.67 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.01833, allocations: 1.587 MB / 1.001 GB, free: 14.08 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.0196, allocations: 1.36 MB / 1.002 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001936/0.01979, allocations: 216 kB / 1.002 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000506/0.0203, allocations: 471.2 kB / 1.003 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0006115/0.02091, allocations: 1.048 MB / 1.004 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0006192/0.02153, allocations: 0.7173 MB / 1.005 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.02384, allocations: 3.495 MB / 1.008 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.02385, allocations: 3.938 kB / 1.008 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.543e-06/0.02385, allocations: 0 / 1.008 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.157e-05/0.02389, allocations: 0 / 1.008 GB, free: 6.766 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002327/0.02622, allocations: 1.889 MB / 1.01 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.02626, allocations: 16.03 kB / 1.01 GB, free: 4.82 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002188/0.02648, allocations: 248.7 kB / 1.01 GB, free: 4.566 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002783/0.02926, allocations: 0.9127 MB / 1.011 GB, free: 3.652 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.03059, allocations: 1.128 MB / 1.012 GB, free: 2.492 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/0.03064, allocations: 111.3 kB / 1.012 GB, free: 2.383 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.03082, allocations: 144.3 kB / 1.012 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002968/0.03378, allocations: 3.089 MB / 1.015 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.03381, allocations: 12.11 kB / 1.015 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.03394, allocations: 68.09 kB / 1.015 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001322/0.03407, allocations: 183 kB / 1.016 GB, free: 14.78 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002516/0.03659, allocations: 2.6 MB / 1.018 GB, free: 12.17 MB / 0.9792 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007927/0.04451, allocations: 9.326 MB / 1.027 GB, free: 2.613 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.04572, allocations: 1.224 MB / 1.028 GB, free: 1.379 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.04677, allocations: 0.9849 MB / 1.029 GB, free: 404 kB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 4.878e-05/0.04682, allocations: 8.656 kB / 1.029 GB, free: 392 kB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.04684, allocations: 39.22 kB / 1.029 GB, free: 344 kB / 0.9792 GB Notification: Performance of pre-optimization done (n=82): time 1.934e-06/0.04684, allocations: 0 / 1.029 GB, free: 344 kB / 0.9792 GB Notification: Performance of matching and sorting (n=139): time 0.4322/0.479, allocations: 18.88 MB / 1.048 GB, free: 99.88 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.479, allocations: 71.12 kB / 1.048 GB, free: 99.81 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007706/0.4798, allocations: 0.9348 MB / 1.049 GB, free: 99.46 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001903/0.48, allocations: 47.3 kB / 1.049 GB, free: 99.41 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.4802, allocations: 0.7479 MB / 1.05 GB, free: 99.14 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.4805, allocations: 0.489 MB / 1.05 GB, free: 98.82 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003177/0.4808, allocations: 293.6 kB / 1.05 GB, free: 98.69 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.955e-05/0.4809, allocations: 352.7 kB / 1.051 GB, free: 98.36 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.482, allocations: 1.335 MB / 1.052 GB, free: 97.92 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.4833, allocations: 1.659 MB / 1.054 GB, free: 97.12 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002582/0.4859, allocations: 3.081 MB / 1.057 GB, free: 95.74 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.4859, allocations: 6.75 kB / 1.057 GB, free: 95.73 MB / 0.9948 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.006727/0.4927, allocations: 5.567 MB / 1.062 GB, free: 94.01 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.4927, allocations: 8.781 kB / 1.062 GB, free: 94.01 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.4927, allocations: 8.656 kB / 1.062 GB, free: 94.01 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004463/0.4972, allocations: 2.714 MB / 1.065 GB, free: 93.51 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/0.4977, allocations: 193.5 kB / 1.065 GB, free: 93.49 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02153/0.5192, allocations: 24.98 MB / 1.089 GB, free: 80.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.5204, allocations: 98.48 kB / 1.089 GB, free: 80.72 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.5205, allocations: 56.75 kB / 1.089 GB, free: 80.71 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009537/0.5214, allocations: 0.738 MB / 1.09 GB, free: 80.35 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.5216, allocations: 115.9 kB / 1.09 GB, free: 80.29 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0073/0.5289, allocations: 5.315 MB / 1.096 GB, free: 78.57 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.5289, allocations: 13.5 kB / 1.096 GB, free: 78.57 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.9e-05/0.529, allocations: 24.03 kB / 1.096 GB, free: 78.57 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.332e-05/0.529, allocations: 6.984 kB / 1.096 GB, free: 78.57 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.5399, allocations: 8.259 MB / 1.104 GB, free: 75.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.5399, allocations: 6.406 kB / 1.104 GB, free: 75.71 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.5402, allocations: 125.4 kB / 1.104 GB, free: 75.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005175/0.5454, allocations: 2.579 MB / 1.106 GB, free: 75.22 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001629/0.5455, allocations: 29.66 kB / 1.106 GB, free: 75.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02176/0.5673, allocations: 23.44 MB / 1.129 GB, free: 63.26 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.5673, allocations: 4.406 kB / 1.129 GB, free: 63.26 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006552/0.5738, allocations: 5.171 MB / 1.134 GB, free: 60.59 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/0.5749, allocations: 430 kB / 1.135 GB, free: 60.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/0.5751, allocations: 25.88 kB / 1.135 GB, free: 60.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005828/0.5757, allocations: 85.73 kB / 1.135 GB, free: 60.29 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005252/0.5762, allocations: 122.6 kB / 1.135 GB, free: 60.21 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.092e-05/0.5763, allocations: 35.53 kB / 1.135 GB, free: 60.2 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006281/0.5769, allocations: 0.6462 MB / 1.136 GB, free: 59.84 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5769, allocations: 0 / 1.136 GB, free: 59.84 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002022/0.579, allocations: 0.7249 MB / 1.136 GB, free: 59.78 MB / 0.9948 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006018/0.585, allocations: 5.744 MB / 1.142 GB, free: 56.25 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004068/0.589, allocations: 4.088 MB / 1.146 GB, free: 53.95 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.589, allocations: 0 / 1.146 GB, free: 53.95 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002842/0.5919, allocations: 2.6 MB / 1.148 GB, free: 52.39 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.5929, allocations: 228.2 kB / 1.149 GB, free: 52.26 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02075/0.6136, allocations: 21.37 MB / 1.169 GB, free: 30.45 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008819/0.6145, allocations: 1.121 MB / 1.171 GB, free: 29.29 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004959/0.615, allocations: 321 kB / 1.171 GB, free: 28.98 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/0.6154, allocations: 0.5316 MB / 1.171 GB, free: 28.45 MB / 0.9948 GB Notification: Performance of SimCode: time 1.242e-06/0.6154, allocations: 4 kB / 1.171 GB, free: 28.45 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06538/0.6808, allocations: 56.07 MB / 1.226 GB, free: 4.863 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/8.393, allocations: 4.062 kB / 1.226 GB, free: 4.859 MB / 1.026 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.337773109786212]