Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.0007582/0.0007582, 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.0007792/0.0007792, 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.8227/0.8227, 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.665/1.665, allocations: 377.8 MB / 0.6221 GB, free: 8.672 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.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.429e-05, allocations: 4.953 kB / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006145/0.006169, allocations: 5.826 MB / 0.9867 GB, free: 12.72 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003415/0.009584, allocations: 3.086 MB / 0.9897 GB, free: 9.621 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004072/0.009991, allocations: 39.62 kB / 0.9897 GB, free: 9.582 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.01129, allocations: 0.9349 MB / 0.9906 GB, free: 8.645 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009357/0.01223, allocations: 0.5009 MB / 0.9911 GB, free: 8.141 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000854/0.01308, allocations: 0.4904 MB / 0.9916 GB, free: 7.652 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0009885/0.01407, allocations: 1.123 MB / 0.9927 GB, free: 6.527 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000845/0.01492, allocations: 0.5022 MB / 0.9932 GB, free: 6.02 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00075/0.01567, allocations: 0.6078 MB / 0.9938 GB, free: 5.41 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005077/0.01617, allocations: 426.8 kB / 0.9942 GB, free: 4.992 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 6.541e-05/0.01624, allocations: 60 kB / 0.9942 GB, free: 4.934 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006433/0.01688, allocations: 450.7 kB / 0.9947 GB, free: 4.492 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.01711, allocations: 315.1 kB / 0.995 GB, free: 4.184 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.01732, allocations: 271.3 kB / 0.9952 GB, free: 3.918 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.01847, allocations: 1.211 MB / 0.9964 GB, free: 2.703 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.01848, allocations: 0 / 0.9964 GB, free: 2.703 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.383e-06/0.01848, allocations: 0 / 0.9964 GB, free: 2.703 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.092e-05/0.0185, allocations: 0 / 0.9964 GB, free: 2.703 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00122/0.01972, allocations: 0.987 MB / 0.9974 GB, free: 1.684 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.01976, allocations: 12.03 kB / 0.9974 GB, free: 1.672 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.971e-05/0.01985, allocations: 110.7 kB / 0.9975 GB, free: 1.555 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008981/0.02075, allocations: 236.1 kB / 0.9977 GB, free: 1.324 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006611/0.02141, allocations: 0.5158 MB / 0.9982 GB, free: 0.7773 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.02144, allocations: 49.66 kB / 0.9983 GB, free: 0.7305 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/0.02151, allocations: 60.38 kB / 0.9983 GB, free: 0.6719 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.02255, allocations: 1.138 MB / 0.9994 GB, free: 15.4 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.02258, allocations: 20.08 kB / 0.9994 GB, free: 15.38 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.02262, allocations: 28.12 kB / 0.9995 GB, free: 15.35 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.364e-05/0.02269, allocations: 65.28 kB / 0.9995 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007339/0.02342, allocations: 0.6879 MB / 1 GB, free: 14.6 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003294/0.02672, allocations: 4.495 MB / 1.005 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.02726, allocations: 410.2 kB / 1.005 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.02774, allocations: 384.6 kB / 1.005 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.02777, allocations: 4 kB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.02779, allocations: 38.56 kB / 1.005 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=41): time 3.466e-06/0.02779, allocations: 0 / 1.005 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of matching and sorting (n=42): time 0.00255/0.03034, allocations: 1.722 MB / 1.007 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.03038, allocations: 63.34 kB / 1.007 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.03071, allocations: 462.7 kB / 1.008 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.03073, allocations: 41.7 kB / 1.008 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.0309, allocations: 388.1 kB / 1.008 GB, free: 6.383 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.718e-05/0.03099, allocations: 158.6 kB / 1.008 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.0311, allocations: 114.2 kB / 1.008 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.0312, allocations: 358.8 kB / 1.009 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.03144, allocations: 249.2 kB / 1.009 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.03177, allocations: 457 kB / 1.009 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006268/0.03239, allocations: 0.7565 MB / 1.01 GB, free: 4.113 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.0324, allocations: 0 / 1.01 GB, free: 4.113 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001185/0.03358, allocations: 1.054 MB / 1.011 GB, free: 3.039 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.0336, allocations: 8 kB / 1.011 GB, free: 3.031 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.03361, allocations: 11.94 kB / 1.011 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005747/0.03419, allocations: 319.4 kB / 1.011 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.03437, allocations: 99.81 kB / 1.011 GB, free: 2.598 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00447/0.03884, allocations: 7.061 MB / 1.018 GB, free: 11.08 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/0.03915, allocations: 27.98 kB / 1.018 GB, free: 11.05 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.03918, allocations: 24 kB / 1.018 GB, free: 11.03 MB / 0.9792 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.0002519/0.03943, allocations: 241.6 kB / 1.019 GB, free: 10.78 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.03949, allocations: 63.56 kB / 1.019 GB, free: 10.72 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.04049, allocations: 0.896 MB / 1.02 GB, free: 9.797 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.0405, allocations: 4 kB / 1.02 GB, free: 9.793 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.0405, allocations: 8 kB / 1.02 GB, free: 9.785 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.04051, allocations: 3.984 kB / 1.02 GB, free: 9.781 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.04213, allocations: 1.599 MB / 1.021 GB, free: 8.102 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.04214, allocations: 0 / 1.021 GB, free: 8.102 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-05/0.04223, allocations: 47.91 kB / 1.021 GB, free: 8.055 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00047/0.0427, allocations: 311.3 kB / 1.021 GB, free: 7.738 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.04272, allocations: 11.94 kB / 1.021 GB, free: 7.727 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004077/0.0468, allocations: 7.07 MB / 1.028 GB, free: 200 kB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.0468, allocations: 4 kB / 1.028 GB, free: 196 kB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.0478, allocations: 0.9798 MB / 1.029 GB, free: 15.16 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.04798, allocations: 99.52 kB / 1.029 GB, free: 15.06 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.04801, allocations: 15.98 kB / 1.029 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.04815, allocations: 15.98 kB / 1.029 GB, free: 15.03 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.04826, allocations: 47.86 kB / 1.03 GB, free: 14.98 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.04827, allocations: 8 kB / 1.03 GB, free: 14.98 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002396/0.04851, allocations: 310.9 kB / 1.03 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.04851, allocations: 4 kB / 1.03 GB, free: 14.67 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000561/0.04907, allocations: 196 kB / 1.03 GB, free: 14.48 MB / 0.9948 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.001289/0.05036, allocations: 1.541 MB / 1.032 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001146/0.05151, allocations: 1.16 MB / 1.033 GB, free: 11.67 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.05151, allocations: 0 / 1.033 GB, free: 11.67 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006359/0.05215, allocations: 0.8344 MB / 1.033 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006279/0.05277, allocations: 208.1 kB / 1.034 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005378/0.05815, allocations: 5.851 MB / 1.039 GB, free: 4.422 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.05843, allocations: 390.8 kB / 1.04 GB, free: 4.016 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002176/0.05865, allocations: 101.2 kB / 1.04 GB, free: 3.914 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.05883, allocations: 232.4 kB / 1.04 GB, free: 3.688 MB / 0.9948 GB Notification: Performance of SimCode: time 8.61e-07/0.05883, allocations: 3.938 kB / 1.04 GB, free: 3.684 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03636/0.09519, allocations: 17.08 MB / 1.057 GB, free: 3 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.121/7.216, allocations: 4.062 kB / 1.057 GB, free: 2.996 MB / 1.01 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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: 11.399883143603802]