Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007622/0.0007624, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004661/0.004661, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.291/2.291, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003091/0.0003092, allocations: 8 kB / 0.873 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5683/0.5686, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005092/0.5738, allocations: 4.036 MB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004524/0.5783, allocations: 3.191 MB / 1.03 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002959/0.5787, allocations: 11.94 kB / 1.03 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006173/0.5793, allocations: 175 kB / 1.03 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009214/0.5802, allocations: 346.5 kB / 1.031 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005872/0.5808, allocations: 235.4 kB / 1.031 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009464/0.5818, allocations: 0.7966 MB / 1.032 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.5831, allocations: 0.8196 MB / 1.033 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004458/0.5835, allocations: 223.1 kB / 1.033 GB, free: 6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004008/0.5839, allocations: 251 kB / 1.033 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.211e-05/0.584, allocations: 16 kB / 1.033 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005338/0.5845, allocations: 315.4 kB / 1.033 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.5847, allocations: 135.5 kB / 1.033 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.5849, allocations: 228.5 kB / 1.034 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007839/0.5857, allocations: 0.7554 MB / 1.034 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5857, allocations: 4 kB / 1.034 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.52e-07/0.5857, allocations: 3.938 kB / 1.034 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.5858, allocations: 0 / 1.034 GB, free: 4.301 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001134/0.5869, allocations: 0.6819 MB / 1.035 GB, free: 3.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.5869, allocations: 16.03 kB / 1.035 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.594e-05/0.587, allocations: 78.7 kB / 1.035 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002649/0.5897, allocations: 0.6633 MB / 1.036 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006234/0.5903, allocations: 447.7 kB / 1.036 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.5904, allocations: 21.03 kB / 1.036 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.941e-05/0.5905, allocations: 35.92 kB / 1.036 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.5919, allocations: 0.7826 MB / 1.037 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.592, allocations: 0 / 1.037 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.996e-05/0.592, allocations: 15.98 kB / 1.037 GB, free: 1.445 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.5921, allocations: 44.61 kB / 1.037 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.5941, allocations: 0.8726 MB / 1.038 GB, free: 0.5273 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003546/0.5977, allocations: 2.812 MB / 1.041 GB, free: 13.5 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.5992, allocations: 0.5214 MB / 1.041 GB, free: 12.97 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006732/0.5999, allocations: 264.6 kB / 1.041 GB, free: 12.71 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.501e-05/0.6, allocations: 89.09 kB / 1.042 GB, free: 12.6 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.6001, allocations: 34.56 kB / 1.042 GB, free: 12.56 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.6001, allocations: 0 / 1.042 GB, free: 12.56 MB / 0.795 GB Notification: Performance of matching and sorting (n=24): time 0.01125/0.6113, allocations: 3.099 MB / 1.045 GB, free: 9.426 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.6114, allocations: 55.41 kB / 1.045 GB, free: 9.359 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004701/0.6119, allocations: 409.5 kB / 1.045 GB, free: 8.953 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.6119, allocations: 29.7 kB / 1.045 GB, free: 8.918 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.6121, allocations: 231.9 kB / 1.045 GB, free: 8.688 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.745e-05/0.6122, allocations: 90.73 kB / 1.045 GB, free: 8.598 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.61e-05/0.6123, allocations: 29.7 kB / 1.045 GB, free: 8.562 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.6124, allocations: 350.8 kB / 1.046 GB, free: 8.211 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009136/0.6134, allocations: 351.7 kB / 1.046 GB, free: 7.867 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009518/0.6143, allocations: 437.2 kB / 1.046 GB, free: 7.406 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/0.6162, allocations: 0.7643 MB / 1.047 GB, free: 6.617 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6162, allocations: 3.938 kB / 1.047 GB, free: 6.613 MB / 0.795 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005104/0.6213, allocations: 1.524 MB / 1.049 GB, free: 5.078 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.772e-05/0.6214, allocations: 148.3 kB / 1.049 GB, free: 4.902 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.6214, allocations: 0 / 1.049 GB, free: 4.902 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003851/0.6253, allocations: 0.8208 MB / 1.05 GB, free: 4.074 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005892/0.6259, allocations: 135.7 kB / 1.05 GB, free: 3.941 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006445/0.6323, allocations: 4.539 MB / 1.054 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007538/0.6331, allocations: 115.9 kB / 1.054 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.6332, allocations: 15.98 kB / 1.054 GB, free: 15 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.6332, allocations: 4 kB / 1.054 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004154/0.6373, allocations: 1.241 MB / 1.056 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.6373, allocations: 4 kB / 1.056 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002492/0.6398, allocations: 0.5432 MB / 1.056 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006376/0.6405, allocations: 139.8 kB / 1.056 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004367/0.6449, allocations: 2.697 MB / 1.059 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006989/0.6456, allocations: 107.9 kB / 1.059 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.6456, allocations: 19.98 kB / 1.059 GB, free: 10.11 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000365/0.646, allocations: 322.7 kB / 1.059 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-05/0.6461, allocations: 31.62 kB / 1.059 GB, free: 9.75 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00456/0.6507, allocations: 1.404 MB / 1.061 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.6507, allocations: 4 kB / 1.061 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6507, allocations: 0 / 1.061 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.6507, allocations: 3.938 kB / 1.061 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005287/0.656, allocations: 2.047 MB / 1.063 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.656, allocations: 4 kB / 1.063 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.6564, allocations: 83.83 kB / 1.063 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003301/0.6597, allocations: 0.7624 MB / 1.064 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.6598, allocations: 0 / 1.064 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005263/0.665, allocations: 4.372 MB / 1.068 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.6651, allocations: 4.031 kB / 1.068 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004282/0.6693, allocations: 1.411 MB / 1.069 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.6696, allocations: 160.6 kB / 1.069 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.918e-05/0.6696, allocations: 11.94 kB / 1.069 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005873/0.6702, allocations: 95.84 kB / 1.069 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.6703, allocations: 19.97 kB / 1.069 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.6704, allocations: 11.94 kB / 1.069 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003145/0.6707, allocations: 307.1 kB / 1.07 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6707, allocations: 0 / 1.07 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007675/0.6715, allocations: 200 kB / 1.07 GB, free: 14.45 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004709/0.6762, allocations: 1.972 MB / 1.072 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004338/0.6805, allocations: 1.73 MB / 1.074 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6806, allocations: 0 / 1.074 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.6817, allocations: 0.6378 MB / 1.074 GB, free: 10 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007352/0.6825, allocations: 117.2 kB / 1.074 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/0.6982, allocations: 6.77 MB / 1.081 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/0.6988, allocations: 0.9132 MB / 1.082 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005572/0.6994, allocations: 151.1 kB / 1.082 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.6996, allocations: 139.3 kB / 1.082 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of SimCode: time 7.82e-07/0.6996, allocations: 0 / 1.082 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.731, allocations: 15.23 MB / 1.097 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/0.7313, allocations: 250 kB / 1.097 GB, free: 2.512 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.631, allocations: 0 / 1.097 GB, free: 2.512 MB / 0.8419 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches