Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007856/0.0007856, 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.0008233/0.0008233, allocations: 170.3 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.8699/0.8699, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.705/1.705, 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_N,fileNamePrefix="Buildings_12_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_12_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.452e-06/1.452e-06, allocations: 0 / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.843e-05, allocations: 6.281 kB / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.007364/0.007382, allocations: 9.493 MB / 0.9902 GB, free: 9.012 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003779/0.01116, allocations: 3.127 MB / 0.9933 GB, free: 5.875 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003606/0.01152, allocations: 43.69 kB / 0.9933 GB, free: 5.832 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009167/0.01244, allocations: 0.6062 MB / 0.9939 GB, free: 5.223 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.000895/0.01333, allocations: 0.7926 MB / 0.9947 GB, free: 4.426 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008355/0.01417, allocations: 0.7484 MB / 0.9954 GB, free: 3.676 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001728/0.0159, allocations: 3.054 MB / 0.9984 GB, free: 0.6172 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.01706, allocations: 1.419 MB / 0.9998 GB, free: 15.15 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.01852, allocations: 1.735 MB / 1.001 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.01976, allocations: 1.555 MB / 1.003 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001933/0.01995, allocations: 240 kB / 1.003 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005606/0.02051, allocations: 491.2 kB / 1.004 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0006243/0.02114, allocations: 1.154 MB / 1.005 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0005442/0.02168, allocations: 0.7836 MB / 1.006 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00258/0.02426, allocations: 3.795 MB / 1.009 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.02427, allocations: 0 / 1.009 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.164e-06/0.02427, allocations: 0 / 1.009 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.861e-05/0.0243, allocations: 0 / 1.009 GB, free: 5.391 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002411/0.02671, allocations: 2.099 MB / 1.011 GB, free: 3.25 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.02675, allocations: 8.031 kB / 1.011 GB, free: 3.242 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002305/0.02698, allocations: 261.2 kB / 1.012 GB, free: 2.977 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004272/0.03125, allocations: 1.361 MB / 1.013 GB, free: 1.613 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.033, allocations: 1.257 MB / 1.014 GB, free: 336 kB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.923e-05/0.03306, allocations: 115.3 kB / 1.014 GB, free: 220 kB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/0.03329, allocations: 148.3 kB / 1.014 GB, free: 72 kB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003428/0.03671, allocations: 3.512 MB / 1.018 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.03674, allocations: 8.078 kB / 1.018 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.03689, allocations: 84.08 kB / 1.018 GB, free: 12.35 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001525/0.03705, allocations: 199.1 kB / 1.018 GB, free: 12.16 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003185/0.04023, allocations: 3.12 MB / 1.021 GB, free: 9.031 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009683/0.04991, allocations: 10.05 MB / 1.031 GB, free: 14.78 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.05158, allocations: 1.619 MB / 1.033 GB, free: 13.15 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.05286, allocations: 1.331 MB / 1.034 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.922e-05/0.05293, allocations: 12.98 kB / 1.034 GB, free: 11.81 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.05296, allocations: 47.5 kB / 1.034 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=104): time 2.796e-06/0.05296, allocations: 0 / 1.034 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of matching and sorting (n=183): time 0.4595/0.5125, allocations: 36.18 MB / 1.069 GB, free: 97.45 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.5125, allocations: 70.88 kB / 1.069 GB, free: 97.39 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.5136, allocations: 1.078 MB / 1.07 GB, free: 96.96 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.986e-05/0.5137, allocations: 59.92 kB / 1.07 GB, free: 96.9 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/0.514, allocations: 0.8072 MB / 1.071 GB, free: 96.34 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/0.5143, allocations: 0.642 MB / 1.072 GB, free: 95.83 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004785/0.5148, allocations: 362.8 kB / 1.072 GB, free: 95.68 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.294e-05/0.5149, allocations: 302.6 kB / 1.072 GB, free: 95.38 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/0.5167, allocations: 1.929 MB / 1.074 GB, free: 94.72 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002033/0.5188, allocations: 2.29 MB / 1.077 GB, free: 93.68 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004095/0.5229, allocations: 4.39 MB / 1.081 GB, free: 91.76 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.5229, allocations: 2.703 kB / 1.081 GB, free: 91.76 MB / 0.9948 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.012/0.5349, allocations: 8.877 MB / 1.09 GB, free: 89.16 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.5349, allocations: 14.5 kB / 1.09 GB, free: 89.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.5349, allocations: 9.156 kB / 1.09 GB, free: 89.15 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009827/0.5447, allocations: 4.967 MB / 1.094 GB, free: 88.35 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004632/0.5452, allocations: 193.6 kB / 1.095 GB, free: 88.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03289/0.5781, allocations: 37.98 MB / 1.132 GB, free: 68.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.5792, allocations: 100.2 kB / 1.132 GB, free: 68.24 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.5793, allocations: 73.77 kB / 1.132 GB, free: 68.22 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.0008328/0.5802, allocations: 0.7952 MB / 1.133 GB, free: 67.71 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.5803, allocations: 149.5 kB / 1.133 GB, free: 67.64 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009678/0.59, allocations: 8.739 MB / 1.141 GB, free: 60.5 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.59, allocations: 16 kB / 1.141 GB, free: 60.48 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/0.59, allocations: 35.94 kB / 1.141 GB, free: 60.45 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.59, allocations: 11.69 kB / 1.141 GB, free: 60.44 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/0.6027, allocations: 12.66 MB / 1.154 GB, free: 47.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.6027, allocations: 3.469 kB / 1.154 GB, free: 47.71 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.6029, allocations: 123.8 kB / 1.154 GB, free: 47.59 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007877/0.6108, allocations: 4.823 MB / 1.159 GB, free: 42.76 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.129e-05/0.6109, allocations: 35.94 kB / 1.159 GB, free: 42.72 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02585/0.6367, allocations: 35.92 MB / 1.194 GB, free: 6.371 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6367, allocations: 4 kB / 1.194 GB, free: 6.367 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00987/0.6466, allocations: 8.449 MB / 1.202 GB, free: 13.83 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007898/0.6474, allocations: 0.5847 MB / 1.203 GB, free: 13.24 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.6475, allocations: 34.44 kB / 1.203 GB, free: 13.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005956/0.6481, allocations: 91.89 kB / 1.203 GB, free: 13.12 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00044/0.6486, allocations: 181.5 kB / 1.203 GB, free: 12.94 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.254e-05/0.6487, allocations: 40 kB / 1.203 GB, free: 12.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006227/0.6493, allocations: 0.7382 MB / 1.204 GB, free: 12.15 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6493, allocations: 4 kB / 1.204 GB, free: 12.15 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001965/0.6513, allocations: 1.008 MB / 1.205 GB, free: 11.14 MB / 1.01 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.01108/0.6623, allocations: 9.038 MB / 1.213 GB, free: 2.012 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006211/0.6685, allocations: 5.736 MB / 1.219 GB, free: 12.23 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6686, allocations: 3.938 kB / 1.219 GB, free: 12.23 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.004308/0.6729, allocations: 3.763 MB / 1.223 GB, free: 8.43 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000925/0.6738, allocations: 243.9 kB / 1.223 GB, free: 8.211 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03434/0.7081, allocations: 30.89 MB / 1.253 GB, free: 8.812 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.7092, allocations: 1.275 MB / 1.254 GB, free: 7.496 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0004846/0.7097, allocations: 360.5 kB / 1.255 GB, free: 7.145 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005089/0.7102, allocations: 0.6097 MB / 1.255 GB, free: 6.535 MB / 1.057 GB Notification: Performance of SimCode: time 1.322e-06/0.7102, allocations: 0 / 1.255 GB, free: 6.535 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08119/0.7914, allocations: 80.84 MB / 1.334 GB, free: 5.809 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.091/8.882, allocations: 1.875 kB / 1.334 GB, free: 5.809 MB / 1.135 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.903084855526686]